com.pax.dal.exceptions
Enum ESle4428DevException
- java.lang.Object
-
- java.lang.Enum<ESle4428DevException>
-
- com.pax.dal.exceptions.ESle4428DevException
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ESle4428DevException>
public enum ESle4428DevException extends java.lang.Enum<ESle4428DevException>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description CONN_ERROR连接失败Connection errorDEVICES_ERR_NO_PERMISSION无权限异常no permission errorDEVICES_ERR_UNEXPECTED未知异常Unexpected errorERR_INVALID_ARGUMENT无效参数Invalid argument errorERROR_DISABLED模块被禁用module disabledNO_SUPPORT_ERROR不支持Not Support exceptionSLE4428_ADDR_RDWR_ERR读写地址出错Read/write address errorSLE4428_CARD_LOCKED_ERR卡被锁Card lockedSLE4428_CARD_OUT_ERR卡不存在Card not existSLE4428_CARD_TYPE_ERR卡类型错误Card type errorSLE4428_LEN_RDWR_ERR读写长度出错Read/write length errorSLE4428_PSC_ERR卡密码验证错误Card password verify errorSLE4428_RDWR_ERR读写卡出错Card read/write errorSLE4428_SLOT_ERR卡槽错误Card slot errorSLE4428_VCC_ERR没电No power
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetErrCodeFromBasement()java.lang.StringgetErrMsg()static ESle4428DevExceptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ESle4428DevException[]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 ESle4428DevException DEVICES_ERR_UNEXPECTED
未知异常Unexpected error
-
CONN_ERROR
public static final ESle4428DevException CONN_ERROR
连接失败Connection error
-
ERR_INVALID_ARGUMENT
public static final ESle4428DevException ERR_INVALID_ARGUMENT
无效参数Invalid argument error
-
NO_SUPPORT_ERROR
public static final ESle4428DevException NO_SUPPORT_ERROR
不支持Not Support exception
-
DEVICES_ERR_NO_PERMISSION
public static final ESle4428DevException DEVICES_ERR_NO_PERMISSION
无权限异常no permission error
-
ERROR_DISABLED
public static final ESle4428DevException ERROR_DISABLED
模块被禁用module disabled
-
SLE4428_ADDR_RDWR_ERR
public static final ESle4428DevException SLE4428_ADDR_RDWR_ERR
读写地址出错Read/write address error
-
SLE4428_CARD_LOCKED_ERR
public static final ESle4428DevException SLE4428_CARD_LOCKED_ERR
卡被锁Card locked
-
SLE4428_CARD_OUT_ERR
public static final ESle4428DevException SLE4428_CARD_OUT_ERR
卡不存在Card not exist
-
SLE4428_CARD_TYPE_ERR
public static final ESle4428DevException SLE4428_CARD_TYPE_ERR
卡类型错误Card type error
-
SLE4428_LEN_RDWR_ERR
public static final ESle4428DevException SLE4428_LEN_RDWR_ERR
读写长度出错Read/write length error
-
SLE4428_PSC_ERR
public static final ESle4428DevException SLE4428_PSC_ERR
卡密码验证错误Card password verify error
-
SLE4428_RDWR_ERR
public static final ESle4428DevException SLE4428_RDWR_ERR
读写卡出错Card read/write error
-
SLE4428_SLOT_ERR
public static final ESle4428DevException SLE4428_SLOT_ERR
卡槽错误Card slot error
-
SLE4428_VCC_ERR
public static final ESle4428DevException SLE4428_VCC_ERR
没电No power
-
-
Method Detail
-
values
public static ESle4428DevException[] 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 (ESle4428DevException c : ESle4428DevException.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ESle4428DevException 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()
-
-