com.pax.dal.exceptions
Enum EPiccDevException
- java.lang.Object
-
- java.lang.Enum<EPiccDevException>
-
- com.pax.dal.exceptions.EPiccDevException
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EPiccDevException>
public enum EPiccDevException extends java.lang.Enum<EPiccDevException>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description DEVICES_ERR_CONNECTRPC I/O 连接异常connect errorDEVICES_ERR_INVALID_ARGUMENT参数错误invalid argument errorDEVICES_ERR_NO_PERMISSION无权限异常no permission errorDEVICES_ERR_NO_SUPPORT不支持not support errorDEVICES_ERR_UNEXPECTED未知异常unexpected errorERROR_DISABLED模块被禁用module disabledERROR_NOT_IN_WHITELIST不在白名单中not in whiteListERROR_PLUGIN_METHOD_NOT_FOUND插件方法未找到plugin method not foundPICC_ERR_CARD_SENSE卡片仍在感应区内Card is still in sensing areaPICC_ERR_CARD_STATUS卡片状态错误(如A/B卡调用M1卡接口, 或M1卡调用isoCommandByApdu接口)Card status error(If A/B card call M1 card interface, or M1 card call PiccIsoCommand interface)PICC_ERR_CARD_TOO_MANY感应区内卡片过多(出现通讯冲突)Too much card in sensing area(communication conflict)PICC_ERR_DATA_BLOCK数值块数据格式有误The data format of value block is incorrectPICC_ERR_FAN_VERIFY扇区未认证Sector is not certifiedPICC_ERR_IO通信传输错误Communication transmission errorPICC_ERR_M1_VERIFYM1卡认证失败M1 Card authentication failurePICC_ERR_MUTI_CARD多卡冲突Multi-card conflictPICC_ERR_NO_ACTIVATION卡片未激活Card not activatedPICC_ERR_NOT_CALL接口芯片不存在或异常Interface chip does not exist or abnormal.PICC_ERR_NOT_LISTEN_OKcardEmulateListen没有调用成功cardEmulateListen is not called successfully.PICC_ERR_NOT_OPEN射频模块未开启RF module closePICC_ERR_NOT_SEARCH_CARD未搜寻到卡片(感应区内无指定类型的卡片)No specific card in sensing areaPICC_ERR_NOT_SET_PARA没有调用cardEmulateSetListenPara函数设置参数The cardEmulateSetListenPara is not called to set the parameters.PICC_ERR_NOT_SUPPORT非接芯片不支持模拟卡片Card emulate not support.PICC_ERR_PARA参数错误Parameter errorPICC_ERR_PROTOCOL1协议错误(卡片应答中出现违反协议规定的数据)Protocol error(The data response from card breaches the agreement)PICC_ERR_PROTOCOL2协议错误Protocol errorPICC_ERR_RX_LEN_EXCEED_EXP接收长度超出限制The receive length exceeded the limit.PICC_ERR_TIMEOUT超时无响应No response timeout
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetErrCodeFromBasement()java.lang.StringgetErrMsg()static EPiccDevExceptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EPiccDevException[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEVICES_ERR_UNEXPECTED
public static final EPiccDevException DEVICES_ERR_UNEXPECTED
未知异常unexpected error
-
DEVICES_ERR_INVALID_ARGUMENT
public static final EPiccDevException DEVICES_ERR_INVALID_ARGUMENT
参数错误invalid argument error
-
DEVICES_ERR_CONNECT
public static final EPiccDevException DEVICES_ERR_CONNECT
RPC I/O 连接异常connect error
-
DEVICES_ERR_NO_SUPPORT
public static final EPiccDevException DEVICES_ERR_NO_SUPPORT
不支持not support error
-
DEVICES_ERR_NO_PERMISSION
public static final EPiccDevException DEVICES_ERR_NO_PERMISSION
无权限异常no permission error
-
ERROR_DISABLED
public static final EPiccDevException ERROR_DISABLED
模块被禁用module disabled
-
ERROR_PLUGIN_METHOD_NOT_FOUND
public static final EPiccDevException ERROR_PLUGIN_METHOD_NOT_FOUND
插件方法未找到plugin method not found
-
ERROR_NOT_IN_WHITELIST
public static final EPiccDevException ERROR_NOT_IN_WHITELIST
不在白名单中not in whiteList
-
PICC_ERR_PARA
public static final EPiccDevException PICC_ERR_PARA
参数错误Parameter error
-
PICC_ERR_NOT_OPEN
public static final EPiccDevException PICC_ERR_NOT_OPEN
射频模块未开启RF module close
-
PICC_ERR_NOT_SEARCH_CARD
public static final EPiccDevException PICC_ERR_NOT_SEARCH_CARD
未搜寻到卡片(感应区内无指定类型的卡片)No specific card in sensing area
-
PICC_ERR_CARD_TOO_MANY
public static final EPiccDevException PICC_ERR_CARD_TOO_MANY
感应区内卡片过多(出现通讯冲突)Too much card in sensing area(communication conflict)
-
PICC_ERR_PROTOCOL1
public static final EPiccDevException PICC_ERR_PROTOCOL1
协议错误(卡片应答中出现违反协议规定的数据)Protocol error(The data response from card breaches the agreement)
-
PICC_ERR_NO_ACTIVATION
public static final EPiccDevException PICC_ERR_NO_ACTIVATION
卡片未激活Card not activated
-
PICC_ERR_MUTI_CARD
public static final EPiccDevException PICC_ERR_MUTI_CARD
多卡冲突Multi-card conflict
-
PICC_ERR_TIMEOUT
public static final EPiccDevException PICC_ERR_TIMEOUT
超时无响应No response timeout
-
PICC_ERR_PROTOCOL2
public static final EPiccDevException PICC_ERR_PROTOCOL2
协议错误Protocol error
-
PICC_ERR_IO
public static final EPiccDevException PICC_ERR_IO
通信传输错误Communication transmission error
-
PICC_ERR_M1_VERIFY
public static final EPiccDevException PICC_ERR_M1_VERIFY
M1卡认证失败M1 Card authentication failure
-
PICC_ERR_FAN_VERIFY
public static final EPiccDevException PICC_ERR_FAN_VERIFY
扇区未认证Sector is not certified
-
PICC_ERR_DATA_BLOCK
public static final EPiccDevException PICC_ERR_DATA_BLOCK
数值块数据格式有误The data format of value block is incorrect
-
PICC_ERR_CARD_SENSE
public static final EPiccDevException PICC_ERR_CARD_SENSE
卡片仍在感应区内Card is still in sensing area
-
PICC_ERR_CARD_STATUS
public static final EPiccDevException PICC_ERR_CARD_STATUS
卡片状态错误(如A/B卡调用M1卡接口, 或M1卡调用isoCommandByApdu接口)Card status error(If A/B card call M1 card interface, or M1 card call PiccIsoCommand interface)
-
PICC_ERR_NOT_CALL
public static final EPiccDevException PICC_ERR_NOT_CALL
接口芯片不存在或异常Interface chip does not exist or abnormal.
-
PICC_ERR_NOT_LISTEN_OK
public static final EPiccDevException PICC_ERR_NOT_LISTEN_OK
cardEmulateListen没有调用成功cardEmulateListen is not called successfully.
-
PICC_ERR_NOT_SET_PARA
public static final EPiccDevException PICC_ERR_NOT_SET_PARA
没有调用cardEmulateSetListenPara函数设置参数The cardEmulateSetListenPara is not called to set the parameters.
-
PICC_ERR_NOT_SUPPORT
public static final EPiccDevException PICC_ERR_NOT_SUPPORT
非接芯片不支持模拟卡片Card emulate not support.
-
PICC_ERR_RX_LEN_EXCEED_EXP
public static final EPiccDevException PICC_ERR_RX_LEN_EXCEED_EXP
接收长度超出限制The receive length exceeded the limit.
-
-
Method Detail
-
values
public static EPiccDevException[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EPiccDevException c : EPiccDevException.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EPiccDevException valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getErrCodeFromBasement
public int getErrCodeFromBasement()
-
getErrMsg
public java.lang.String getErrMsg()
-
-