mirror of
https://github.com/zxing/zxing.git
synced 2025-02-02 05:41:08 -08:00
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:
parent
80a76cb952
commit
699e7a14f5
|
@ -19,9 +19,8 @@
|
||||||
|
|
||||||
namespace zxing {
|
namespace zxing {
|
||||||
|
|
||||||
NotFoundException::NotFoundException(const char *msg) :
|
NotFoundException::NotFoundException(const char *msg)
|
||||||
Exception(msg) {
|
: ReaderException(msg) {}
|
||||||
}
|
|
||||||
|
|
||||||
NotFoundException::~NotFoundException() throw() {
|
NotFoundException::~NotFoundException() throw() {
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,11 +19,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <zxing/Exception.h>
|
#include <zxing/ReaderException.h>
|
||||||
|
|
||||||
namespace zxing {
|
namespace zxing {
|
||||||
|
|
||||||
class NotFoundException : public Exception {
|
class NotFoundException : public ReaderException {
|
||||||
public:
|
public:
|
||||||
NotFoundException(const char *msg);
|
NotFoundException(const char *msg);
|
||||||
~NotFoundException() throw();
|
~NotFoundException() throw();
|
||||||
|
|
Loading…
Reference in a new issue