com.pax.dal.exceptions
Enum EAT88SC102DevException
- java.lang.Object
-
- java.lang.Enum<EAT88SC102DevException>
-
- com.pax.dal.exceptions.EAT88SC102DevException
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EAT88SC102DevException>
public enum EAT88SC102DevException extends java.lang.Enum<EAT88SC102DevException>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description AT88SC102_ADDR_ERR地址错误Address errorAT88SC102_CARD_NOEXIST卡片不存在Card not existAT88SC102_EZ1V_ERR应用区块1清除失败Application 1 area erased errorAT88SC102_EZ2V_ERR应用区块2清除失败Application 2 area erased errorAT88SC102_LEN_ERR数据长度错误Data length errorAT88SC102_NO_ALLOW安全等级不为1Not security level 1AT88SC102_NO_POWER功率不足No powerAT88SC102_PGM_ERR卡片写入失败Write card errorAT88SC102_SCV_ERR密码检验失败Password verify errorCONN_ERROR连接失败Connection errorDEVICES_ERR_UNEXPECTED未知异常Unexpected errorERR_INVALID_ARGUMENT无效参数Invalid argument errorERROR_DISABLED模块被禁用module disabledNO_SUPPORT_ERROR不支持Not Support exception
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetErrCodeFromBasement()java.lang.StringgetErrMsg()static EAT88SC102DevExceptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EAT88SC102DevException[]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 EAT88SC102DevException DEVICES_ERR_UNEXPECTED
未知异常Unexpected error
-
AT88SC102_CARD_NOEXIST
public static final EAT88SC102DevException AT88SC102_CARD_NOEXIST
卡片不存在Card not exist
-
AT88SC102_NO_POWER
public static final EAT88SC102DevException AT88SC102_NO_POWER
功率不足No power
-
AT88SC102_ADDR_ERR
public static final EAT88SC102DevException AT88SC102_ADDR_ERR
地址错误Address error
-
AT88SC102_PGM_ERR
public static final EAT88SC102DevException AT88SC102_PGM_ERR
卡片写入失败Write card error
-
AT88SC102_LEN_ERR
public static final EAT88SC102DevException AT88SC102_LEN_ERR
数据长度错误Data length error
-
AT88SC102_SCV_ERR
public static final EAT88SC102DevException AT88SC102_SCV_ERR
密码检验失败Password verify error
-
AT88SC102_EZ1V_ERR
public static final EAT88SC102DevException AT88SC102_EZ1V_ERR
应用区块1清除失败Application 1 area erased error
-
AT88SC102_EZ2V_ERR
public static final EAT88SC102DevException AT88SC102_EZ2V_ERR
应用区块2清除失败Application 2 area erased error
-
AT88SC102_NO_ALLOW
public static final EAT88SC102DevException AT88SC102_NO_ALLOW
安全等级不为1Not security level 1
-
ERR_INVALID_ARGUMENT
public static final EAT88SC102DevException ERR_INVALID_ARGUMENT
无效参数Invalid argument error
-
CONN_ERROR
public static final EAT88SC102DevException CONN_ERROR
连接失败Connection error
-
NO_SUPPORT_ERROR
public static final EAT88SC102DevException NO_SUPPORT_ERROR
不支持Not Support exception
-
ERROR_DISABLED
public static final EAT88SC102DevException ERROR_DISABLED
模块被禁用module disabled
-
-
Method Detail
-
values
public static EAT88SC102DevException[] 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 (EAT88SC102DevException c : EAT88SC102DevException.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EAT88SC102DevException 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()
-
-