public class LineaProException
extends java.io.IOException
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_BUSY
Busy.
|
static int |
ERROR_COM
COM error.
|
static int |
ERROR_CONFIG
Configuration error.
|
static int |
ERROR_CRYPT
Crypt error.
|
static int |
ERROR_EMV
EMV error.
|
static int |
ERROR_FIRST_DATA
First data.
|
static int |
ERROR_FLASH
Flash error.
|
static int |
ERROR_GENERAL
General error.
|
static int |
ERROR_INVALID_AUTH
Invalid authentication.
|
static int |
ERROR_INVALID_COMMAND
Invalid command.
|
static int |
ERROR_INVALID_KEY
Invalid key.
|
static int |
ERROR_INVALID_LENGTH
Invalid length.
|
static int |
ERROR_INVALID_VALUE
Invalid value.
|
static int |
ERROR_LAST_DATA
Last data.
|
static int |
ERROR_NO
No error.
|
static int |
ERROR_NO_DATA
No data.
|
static int |
ERROR_NO_PERM
No permission.
|
static int |
ERROR_OUT_OF_MEMORY
Out of memory.
|
static int |
ERROR_TAMPERED
Tampered.
|
static int |
ERROR_TIMEOUT
Timeout.
|
Constructor and Description |
---|
LineaProException(int errorCode)
Initializes a new instance of the class with its error code.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Gets the error code that raise the exception.
|
java.lang.String |
toString() |
public static final int ERROR_NO
public static final int ERROR_GENERAL
public static final int ERROR_INVALID_LENGTH
public static final int ERROR_INVALID_VALUE
public static final int ERROR_INVALID_COMMAND
public static final int ERROR_TIMEOUT
public static final int ERROR_NO_PERM
public static final int ERROR_INVALID_KEY
public static final int ERROR_INVALID_AUTH
public static final int ERROR_BUSY
public static final int ERROR_NO_DATA
public static final int ERROR_FIRST_DATA
public static final int ERROR_LAST_DATA
public static final int ERROR_COM
public static final int ERROR_FLASH
public static final int ERROR_CRYPT
public static final int ERROR_OUT_OF_MEMORY
public static final int ERROR_CONFIG
public static final int ERROR_EMV
public static final int ERROR_TAMPERED