Package com.google.zxing
Class ReaderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.zxing.ReaderException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ChecksumException
,FormatException
public abstract class ReaderException extends Exception
The general exception class throw when something goes wrong during decoding of a barcode.
This includes, but is not limited to, failing checksums / error correction algorithms, being
unable to locate finder timing patterns, and so on.
- Author:
- Sean Owen
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected static boolean
isStackTrace
protected static StackTraceElement[]
NO_TRACE
-
Constructor Summary
Constructors Constructor Description ReaderException()
ReaderException(Throwable cause)
-
Method Summary
Modifier and Type Method Description Throwable
fillInStackTrace()
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
isStackTrace
protected static final boolean isStackTrace -
NO_TRACE
-
-
Constructor Details
-
ReaderException
ReaderException() -
ReaderException
ReaderException(Throwable cause)
-
-
Method Details
-
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
-