Class DocumentReaderException
java.lang.Object
RegulaException
com.regula.documentreader.api.errors.DocumentReaderException
public class DocumentReaderException
extends RegulaException
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
An incorrect database ID.static final int
A database is corrupted.static final int
An incorrect database ID.static final int
A database is corrupted.static final int
static final int
An error is encountered during database download.static final int
This scenario is not supported based on your license and Core framework capabilities.static final int
Core framework is absent.static final int
The reader is not initialized or an unknown initialization error occured.static final int
Failed to set TCC params.static final int
A license is absent or corrupted.static final int
db.dat is incorrect.static final int
An invalid date, i.e.static final int
An invalid device ID.static final int
An invalid OS or application ID.static final int
An invalid version.static final int
There are no authenticity capabilities in your license.static final int
There are no capabilities for this functionality in your license.static final int
db.dat is absent.static final int
Something went wrong with online license processing.static final int
static final int
There are no results after recognition of camera frames.static final int
static final int
An invalid URL of the video during its generating.static final int
An error is encountered during database removal.static final int
The operation failed due to RFID reading has already started.static final int
An error is encountered during database save on your device.static final int
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionDocumentReaderException
(int code) DocumentReaderException
(int code, String message) DocumentReaderException
(String message) DocumentReaderException
(String message, Throwable cause) DocumentReaderException
(Throwable cause) -
Method Summary
-
Field Details
-
INITIALIZATION_CORE_ABSENT
public static final int INITIALIZATION_CORE_ABSENTCore framework is absent.- See Also:
-
INITIALIZATION_FAILED
public static final int INITIALIZATION_FAILEDThe reader is not initialized or an unknown initialization error occured.- See Also:
-
INCORRECT_SCENARIO
public static final int INCORRECT_SCENARIOThis scenario is not supported based on your license and Core framework capabilities.- See Also:
-
NO_RESULT
public static final int NO_RESULTThere are no results after recognition of camera frames.- See Also:
-
REMOVE_DATABASE
public static final int REMOVE_DATABASEAn error is encountered during database removal.- See Also:
-
FETCHING_DATABASE
public static final int FETCHING_DATABASEAn error is encountered during database download.- See Also:
-
DB_ID_NOT_FOUND
public static final int DB_ID_NOT_FOUNDAn incorrect database ID.- See Also:
-
DB_DESCRIPTION_NOT_FOUND
public static final int DB_DESCRIPTION_NOT_FOUNDAn incorrect database ID.- See Also:
-
SAVE_DB
public static final int SAVE_DBAn error is encountered during database save on your device.- See Also:
-
DOWNLOAD_DB_INCORRECT_CHECKSUM
public static final int DOWNLOAD_DB_INCORRECT_CHECKSUMA database is corrupted.- See Also:
-
DB_DOWNLOAD
public static final int DB_DOWNLOADA database is corrupted.- See Also:
-
LICENSE_ABSENT_OR_CORRUPTED
public static final int LICENSE_ABSENT_OR_CORRUPTEDA license is absent or corrupted.- See Also:
-
LICENSE_INVALID_DATE
public static final int LICENSE_INVALID_DATEAn 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_VERSIONAn invalid version.- See Also:
-
LICENSE_INVALID_DEVICE_ID
public static final int LICENSE_INVALID_DEVICE_IDAn invalid device ID.- See Also:
-
LICENSE_INVALID_SYSTEM_OR_APP_ID
public static final int LICENSE_INVALID_SYSTEM_OR_APP_IDAn invalid OS or application ID.- See Also:
-
LICENSE_NO_CAPABILITIES
public static final int LICENSE_NO_CAPABILITIESThere are no capabilities for this functionality in your license.- See Also:
-
LICENSE_NO_AUTHENTICITY
public static final int LICENSE_NO_AUTHENTICITYThere are no authenticity capabilities in your license.- See Also:
-
RECORD_PROCESS_INVALID_OUTPUT_URL
public static final int RECORD_PROCESS_INVALID_OUTPUT_URLAn invalid URL of the video during its generating.- See Also:
-
LICENSE_ONLINE_ERROR
public static final int LICENSE_ONLINE_ERRORSomething went wrong with online license processing.- See Also:
-
LICENSE_NO_DATABASE
public static final int LICENSE_NO_DATABASEdb.dat is absent.- See Also:
-
LICENSE_DATABASE_INCORRECT
public static final int LICENSE_DATABASE_INCORRECTdb.dat is incorrect.- See Also:
-
INVALID_TCC_PARAMS
public static final int INVALID_TCC_PARAMSFailed to set TCC params.- See Also:
-
RFID_IN_PROGRESS
public static final int RFID_IN_PROGRESSThe operation failed due to RFID reading has already started.- 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
-
DocumentReaderException
-
DocumentReaderException
-
DocumentReaderException
-
-
Method Details
-
getErrorCode
public int getErrorCode() -
getMessage
-