All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ChecksumException, FormatException

public abstract class ReaderExceptionextends 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.
See Also:
  • Field Details

    • isStackTrace

      protected static final boolean isStackTrace
      disable stack traces when not running inside test units
    • NO_TRACE

      protected static final StackTraceElement[] NO_TRACE
      empty stack trace array for disabled stack traces
  • Constructor Details

    • ReaderException

      ReaderException()
      For subclasses only.
    • ReaderException

      ReaderException(Throwable cause)
      Creates an exception that wraps the failure which caused it.
      Parameters:
      cause - the failure that triggered this exception
  • Method Details