com.pax.dal.exceptions
Enum EAT88SC1608DevException
- java.lang.Object
-
- java.lang.Enum<EAT88SC1608DevException>
-
- com.pax.dal.exceptions.EAT88SC1608DevException
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EAT88SC1608DevException>
public enum EAT88SC1608DevException extends java.lang.Enum<EAT88SC1608DevException>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description AT88SC1608_ADDR_ROLL_ERR地址错误Address errorAT88SC1608_AUTHEN_ERR身份验证失败Authentication verify failedAT88SC1608_CARD_NOACTIVED卡未激活Card is not activeAT88SC1608_CHANNEL_ERR通道错误Channel errorAT88SC1608_POLL_ANSWER_ERR检查回响错误Poll answer errorAT88SC1608_RESET_ERR重置失败Reset failedAT88SC1608_SC_INDEX_ERR索引错误Index errorAT88SC1608_VER_SC_ERR密码验证失败Password verify failedAT88SC1608_WR_NACK写 NACK错误WR NACK errorAT8SC1608_CARD_NOEXIST卡不存在Card not existCONN_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 EAT88SC1608DevExceptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EAT88SC1608DevException[]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 EAT88SC1608DevException DEVICES_ERR_UNEXPECTED
未知异常Unexpected error
-
CONN_ERROR
public static final EAT88SC1608DevException CONN_ERROR
连接失败Connection error
-
ERR_INVALID_ARGUMENT
public static final EAT88SC1608DevException ERR_INVALID_ARGUMENT
无效参数Invalid argument error
-
NO_SUPPORT_ERROR
public static final EAT88SC1608DevException NO_SUPPORT_ERROR
不支持Not Support exception
-
ERROR_DISABLED
public static final EAT88SC1608DevException ERROR_DISABLED
模块被禁用module disabled
-
AT88SC1608_ADDR_ROLL_ERR
public static final EAT88SC1608DevException AT88SC1608_ADDR_ROLL_ERR
地址错误Address error
-
AT88SC1608_AUTHEN_ERR
public static final EAT88SC1608DevException AT88SC1608_AUTHEN_ERR
身份验证失败Authentication verify failed
-
AT88SC1608_CARD_NOACTIVED
public static final EAT88SC1608DevException AT88SC1608_CARD_NOACTIVED
卡未激活Card is not active
-
AT88SC1608_CHANNEL_ERR
public static final EAT88SC1608DevException AT88SC1608_CHANNEL_ERR
通道错误Channel error
-
AT88SC1608_POLL_ANSWER_ERR
public static final EAT88SC1608DevException AT88SC1608_POLL_ANSWER_ERR
检查回响错误Poll answer error
-
AT88SC1608_RESET_ERR
public static final EAT88SC1608DevException AT88SC1608_RESET_ERR
重置失败Reset failed
-
AT88SC1608_SC_INDEX_ERR
public static final EAT88SC1608DevException AT88SC1608_SC_INDEX_ERR
索引错误Index error
-
AT88SC1608_VER_SC_ERR
public static final EAT88SC1608DevException AT88SC1608_VER_SC_ERR
密码验证失败Password verify failed
-
AT88SC1608_WR_NACK
public static final EAT88SC1608DevException AT88SC1608_WR_NACK
写 NACK错误WR NACK error
-
AT8SC1608_CARD_NOEXIST
public static final EAT88SC1608DevException AT8SC1608_CARD_NOEXIST
卡不存在Card not exist
-
-
Method Detail
-
values
public static EAT88SC1608DevException[] 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 (EAT88SC1608DevException c : EAT88SC1608DevException.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EAT88SC1608DevException 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()
-
-