public enum PassThruApduResults extends Enum<PassThruApduResults>
Enum Constant and Description |
---|
BAD_NAD
Bad NAD error
|
CARD_DEACTIVATED
The smart card is deactivated.
|
CARD_MEMORY_OVERFLOW
The memory overflow from the smart card.
|
CARD_MUTED
The smart card is muted during the T=1 exchange.
|
CMD_FRAME_LOST
Atleast one command frame is lost while processing the APDU.
|
EMDK_NOT_OPENED
EMDK is not opened.
|
FAILURE
Failed
|
FRAMING_ERROR
Error in the frame.
|
INIT_FAILURE
The SAM is not initialized properly.
|
INVALID_APDU
The APDU command is invalid or wrong
|
INVALID_OBJECT
Invalid Object
|
INVALID_VALUE
Invalid input parameter
|
LENGTH_TOO_SHORT
The length is too short occurs when actual length of data received from
SAM is less than expected length.
|
NEGATIVE_LENGTH
The negative length error occurs when actual length is less than zero.
|
NFC_DISABLED
NFC is disabled on the device.
|
NOT_ENABLED
The connection to SAM is not established.
|
PROC_BYTE_ERR
The Hardware procedure byte error
|
PROCESSING_CHAIN_ABORTED
The smart card processing chain aborted during transmission and
reception.
|
RESYNC
Resyncing is required.
|
RX_PARITY_ERROR
The hardware parity error during the reception of the data.
|
SAM_NOT_AVAILABLE
SAM not present in the device.
|
SERIAL_LRC_ERR
Serial LRC error
|
SUCCESS
Success
|
TEMP_ALARAM
The temperature is out of range.
|
TIME_OUT
The hardware timed out after the waiting time.
|
TOO_SHORT_APDU
The hardware error due to APDU length is short
|
TX_PARITY_ERROR
The hardware parity error during the transmission of data.
|
UART_BUFFER_OVERFLOW
UART buffer overflow
|
UNDEFINED
Error code not defined.
|
VOLTAGE_DROP
Voltage supply dropped.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns the description for the error.
|
static PassThruApduResults |
getResult(int id) |
int |
getValue()
This method provides integer value assigned to the enum.
|
static PassThruApduResults |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PassThruApduResults[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PassThruApduResults SUCCESS
public static final PassThruApduResults FAILURE
public static final PassThruApduResults INIT_FAILURE
public static final PassThruApduResults INVALID_OBJECT
public static final PassThruApduResults INVALID_VALUE
public static final PassThruApduResults NFC_DISABLED
public static final PassThruApduResults FRAMING_ERROR
public static final PassThruApduResults BAD_NAD
public static final PassThruApduResults CARD_DEACTIVATED
public static final PassThruApduResults CARD_MUTED
public static final PassThruApduResults PROCESSING_CHAIN_ABORTED
public static final PassThruApduResults CMD_FRAME_LOST
public static final PassThruApduResults NOT_ENABLED
public static final PassThruApduResults SAM_NOT_AVAILABLE
public static final PassThruApduResults LENGTH_TOO_SHORT
public static final PassThruApduResults NEGATIVE_LENGTH
public static final PassThruApduResults CARD_MEMORY_OVERFLOW
public static final PassThruApduResults TX_PARITY_ERROR
public static final PassThruApduResults RX_PARITY_ERROR
public static final PassThruApduResults RESYNC
public static final PassThruApduResults SERIAL_LRC_ERR
public static final PassThruApduResults TIME_OUT
public static final PassThruApduResults TOO_SHORT_APDU
public static final PassThruApduResults UART_BUFFER_OVERFLOW
public static final PassThruApduResults VOLTAGE_DROP
public static final PassThruApduResults INVALID_APDU
public static final PassThruApduResults PROC_BYTE_ERR
public static final PassThruApduResults TEMP_ALARAM
public static final PassThruApduResults EMDK_NOT_OPENED
public static final PassThruApduResults UNDEFINED
public static PassThruApduResults[] values()
for (PassThruApduResults c : PassThruApduResults.values()) System.out.println(c);
public static PassThruApduResults valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static PassThruApduResults getResult(int id)
public int getValue()
public String getDescription()