Class DocumentReaderException

com.regula.documentreader.api.errors.DocumentReaderException

public class DocumentReaderException
  • Field Details

    • INITIALIZATION_CORE_ABSENT

      public static final int INITIALIZATION_CORE_ABSENT
      Core framework is absent.
      See Also:
    • INITIALIZATION_FAILED

      public static final int INITIALIZATION_FAILED
      The reader is not initialized or an unknown initialization error occured.
      See Also:
    • INCORRECT_SCENARIO

      public static final int INCORRECT_SCENARIO
      This scenario is not supported based on your license and Core framework capabilities.
      See Also:
    • NO_RESULT

      public static final int NO_RESULT
      There are no results after recognition of camera frames.
      See Also:
    • REMOVE_DATABASE

      public static final int REMOVE_DATABASE
      An error is encountered during database removal.
      See Also:
    • FETCHING_DATABASE

      public static final int FETCHING_DATABASE
      An error is encountered during database download.
      See Also:
    • DB_ID_NOT_FOUND

      public static final int DB_ID_NOT_FOUND
      An incorrect database ID.
      See Also:
    • DB_DESCRIPTION_NOT_FOUND

      public static final int DB_DESCRIPTION_NOT_FOUND
      An incorrect database ID.
      See Also:
    • SAVE_DB

      public static final int SAVE_DB
      An error is encountered during database save on your device.
      See Also:
    • DOWNLOAD_DB_INCORRECT_CHECKSUM

      public static final int DOWNLOAD_DB_INCORRECT_CHECKSUM
      A database is corrupted.
      See Also:
    • DB_DOWNLOAD

      public static final int DB_DOWNLOAD
      A database is corrupted.
      See Also:
    • LICENSE_ABSENT_OR_CORRUPTED

      public static final int LICENSE_ABSENT_OR_CORRUPTED
      A license is absent or corrupted.
      See Also:
    • LICENSE_INVALID_DATE

      public static final int LICENSE_INVALID_DATE
      An invalid date, i.e. the license may be expired, or the date and time of set on the device doesn't correspond to reality.
      See Also:
    • LICENSE_INVALID_VERSION

      public static final int LICENSE_INVALID_VERSION
      An invalid version.
      See Also:
    • LICENSE_INVALID_DEVICE_ID

      public static final int LICENSE_INVALID_DEVICE_ID
      An invalid device ID.
      See Also:
    • LICENSE_INVALID_SYSTEM_OR_APP_ID

      public static final int LICENSE_INVALID_SYSTEM_OR_APP_ID
      An invalid OS or application ID.
      See Also:
    • LICENSE_NO_CAPABILITIES

      public static final int LICENSE_NO_CAPABILITIES
      There are no capabilities for this functionality in your license.
      See Also:
    • LICENSE_NO_AUTHENTICITY

      public static final int LICENSE_NO_AUTHENTICITY
      There are no authenticity capabilities in your license.
      See Also:
    • RECORD_PROCESS_INVALID_OUTPUT_URL

      public static final int RECORD_PROCESS_INVALID_OUTPUT_URL
      An invalid URL of the video during its generating.
      See Also:
    • LICENSE_ONLINE_ERROR

      public static final int LICENSE_ONLINE_ERROR
      Something went wrong with online license processing.
      See Also:
    • LICENSE_NO_DATABASE

      public static final int LICENSE_NO_DATABASE
      db.dat is absent.
      See Also:
    • LICENSE_DATABASE_INCORRECT

      public static final int LICENSE_DATABASE_INCORRECT
      db.dat is incorrect.
      See Also:
    • INVALID_TCC_PARAMS

      public static final int INVALID_TCC_PARAMS
      Failed to set TCC params.
      See Also:
    • RFID_IN_PROGRESS

      public static final int RFID_IN_PROGRESS
      The operation failed due to RFID reading has already started.
      See Also:
    • START_BACKEND_PROCESSING

      public static final int START_BACKEND_PROCESSING
      See Also:
    • ADD_DATA_TO_PACKAGE

      public static final int ADD_DATA_TO_PACKAGE
      See Also:
    • FINALIZE_FAILED

      public static final int FINALIZE_FAILED
      See Also:
    • NATIVE_JAVA_EXCEPTION

      public static final int NATIVE_JAVA_EXCEPTION
      See Also:
    • BACKEND_ONLINE_PROCESSING

      public static final int BACKEND_ONLINE_PROCESSING
      See Also:
    • WRONG_INPUT

      public static final int WRONG_INPUT
      See Also:
    • STATE_EXCEPTION

      public static final int STATE_EXCEPTION
      See Also:
    • BLE_EXCEPTION

      public static final int BLE_EXCEPTION
      See Also:
    • FEATURE_BLUETOOTH_LE_NOT_SUPPORTED

      public static final int FEATURE_BLUETOOTH_LE_NOT_SUPPORTED
      See Also:
    • APP_BACKGROUND

      public static final int APP_BACKGROUND
      See Also:
    • ONLINE_PROCESSING_WRONG_INPUT

      public static final int ONLINE_PROCESSING_WRONG_INPUT
      See Also:
  • Constructor Details

    • DocumentReaderException

      public DocumentReaderException()
    • DocumentReaderException

      public DocumentReaderException(int code)
    • DocumentReaderException

      public DocumentReaderException(int code, String message)
    • DocumentReaderException

      public DocumentReaderException(String message)
    • DocumentReaderException

      public DocumentReaderException(String message, Throwable cause)
    • DocumentReaderException

      public DocumentReaderException(Throwable cause)
  • Method Details

    • getErrorCode

      public int getErrorCode()
    • getMessage

      public String getMessage()