FormatException (ZXing 3.5.0 API)

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 and Description
    --- | ---
    `static FormatException` | `getFormatInstance()`
    `static FormatException` | `getFormatInstance(Throwable cause)`

    - ### Methods inherited from class com.google.zxing.ReaderException

      `fillInStackTrace, setStackTrace`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### getFormatInstance

          public static FormatException getFormatInstance()

    - #### getFormatInstance

          public static FormatException getFormatInstance(Throwable cause)

Copyright © 2007–2022. All rights reserved.