Make NFE a subclass of RE to match java. Closes Issue 1055

git-svn-id: https://zxing.googlecode.com/svn/trunk@2023 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
smparkes@smparkes.net 2011-11-10 16:57:13 +00:00
parent 80a76cb952
commit 699e7a14f5
2 changed files with 4 additions and 5 deletions

View file

@ -19,9 +19,8 @@
namespace zxing {
NotFoundException::NotFoundException(const char *msg) :
Exception(msg) {
}
NotFoundException::NotFoundException(const char *msg)
: ReaderException(msg) {}
NotFoundException::~NotFoundException() throw() {
}

View file

@ -19,11 +19,11 @@
* limitations under the License.
*/
#include <zxing/Exception.h>
#include <zxing/ReaderException.h>
namespace zxing {
class NotFoundException : public Exception {
class NotFoundException : public ReaderException {
public:
NotFoundException(const char *msg);
~NotFoundException() throw();