com.pax.dal.exceptions
Enum EAT88SC153DevException
- java.lang.Object
-
- java.lang.Enum<EAT88SC153DevException>
-
- com.pax.dal.exceptions.EAT88SC153DevException
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EAT88SC153DevException>
public enum EAT88SC153DevException extends java.lang.Enum<EAT88SC153DevException>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description AT88SC153_ADDR_ROLL_ERR地址错误Address errorAT88SC153_ANTHEN_ERR认证失败Authentication verify failedAT88SC153_CARD_NOACTIVED卡片未激活Card is not activedAT88SC153_CARD_NOEXIST卡片不存在Card not existAT88SC153_CHANNEL_EEROR通道错误Channel errorAT88SC153_POLL_ANSWER_ERR检验错误Poll answer errorAT88SC153_RESET_ERROR重置失败Reset failedAT88SC153_SC_INDEX_ERR索引错误Index errorAT88SC153_VER_SC_ERR密码验证失败Password verify failedAT88SC153_WR_NACKWR NACK错误WR NACK errorAT88SC153_ZONE_NUM_ERR块错误Zone num errorCONN_ERROR连接失败Connection errorDEVICES_ERR_UNEXPECTED未知异常Unexpected errorERR_INVALID_ARGUMENT无效参数Invalid argument errorERROR_DISABLED模块被禁用module disabledNOT_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 EAT88SC153DevExceptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EAT88SC153DevException[]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 EAT88SC153DevException DEVICES_ERR_UNEXPECTED
未知异常Unexpected error
-
AT88SC153_WR_NACK
public static final EAT88SC153DevException AT88SC153_WR_NACK
WR NACK错误WR NACK error
-
AT88SC153_RESET_ERROR
public static final EAT88SC153DevException AT88SC153_RESET_ERROR
重置失败Reset failed
-
AT88SC153_CARD_NOEXIST
public static final EAT88SC153DevException AT88SC153_CARD_NOEXIST
卡片不存在Card not exist
-
AT88SC153_CHANNEL_EEROR
public static final EAT88SC153DevException AT88SC153_CHANNEL_EEROR
通道错误Channel error
-
AT88SC153_ADDR_ROLL_ERR
public static final EAT88SC153DevException AT88SC153_ADDR_ROLL_ERR
地址错误Address error
-
AT88SC153_SC_INDEX_ERR
public static final EAT88SC153DevException AT88SC153_SC_INDEX_ERR
索引错误Index error
-
AT88SC153_POLL_ANSWER_ERR
public static final EAT88SC153DevException AT88SC153_POLL_ANSWER_ERR
检验错误Poll answer error
-
AT88SC153_CARD_NOACTIVED
public static final EAT88SC153DevException AT88SC153_CARD_NOACTIVED
卡片未激活Card is not actived
-
AT88SC153_VER_SC_ERR
public static final EAT88SC153DevException AT88SC153_VER_SC_ERR
密码验证失败Password verify failed
-
AT88SC153_ANTHEN_ERR
public static final EAT88SC153DevException AT88SC153_ANTHEN_ERR
认证失败Authentication verify failed
-
AT88SC153_ZONE_NUM_ERR
public static final EAT88SC153DevException AT88SC153_ZONE_NUM_ERR
块错误Zone num error
-
ERR_INVALID_ARGUMENT
public static final EAT88SC153DevException ERR_INVALID_ARGUMENT
无效参数Invalid argument error
-
CONN_ERROR
public static final EAT88SC153DevException CONN_ERROR
连接失败Connection error
-
NOT_SUPPORT_ERROR
public static final EAT88SC153DevException NOT_SUPPORT_ERROR
不支持Not Support Exception
-
ERROR_DISABLED
public static final EAT88SC153DevException ERROR_DISABLED
模块被禁用module disabled
-
-
Method Detail
-
values
public static EAT88SC153DevException[] 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 (EAT88SC153DevException c : EAT88SC153DevException.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EAT88SC153DevException 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()
-
-