Package com.google.zxing
Class FormatException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.google.zxing.ReaderException
-
- com.google.zxing.FormatException
-
- All Implemented Interfaces:
Serializable
public final class FormatException extends ReaderException
Thrown when a barcode was successfully detected, but some aspect of the content did not conform to the barcode's format rules. This could have been due to a mis-detection.- Author:
- Sean Owen
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.google.zxing.ReaderException
isStackTrace, NO_TRACE
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FormatException
getFormatInstance()
static FormatException
getFormatInstance(Throwable cause)
-
Methods inherited from class com.google.zxing.ReaderException
fillInStackTrace
-
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getFormatInstance
public static FormatException getFormatInstance()
-
getFormatInstance
public static FormatException getFormatInstance(Throwable cause)
-
-