com.pax.dal.exceptions
Enum Esle4442DevException
- java.lang.Object
-
- java.lang.Enum<Esle4442DevException>
-
- com.pax.dal.exceptions.Esle4442DevException
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Esle4442DevException>
public enum Esle4442DevException extends java.lang.Enum<Esle4442DevException>
-
-
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 exceptionSLE4442_ATR_ERRATR错误Card Atr errorSLE4442_CARD_LOCK卡已上锁Card LockedSLE4442_CARD_NOEXIST卡不存在Card not existSLE4442_CARD_NOT_RESET卡未复位Card not resetSLE4442_NOT_OPENSle4442模块未开启Sle4442 module not openedSLE4442_RdWr_ERR读/写数据错误Read or write data errorSLE4442_SIZE_EXCEED参数溢出Parameter size exceedSLE4442_SLOT_ERR槽错误Slot errorSLE4442_UP_SC_ERR更新安全数据错误Update security data errorSLE4442_VER_SC_ERR验证安全数据错误Verify security data error
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetErrCodeFromBasement()java.lang.StringgetErrMsg()static Esle4442DevExceptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Esle4442DevException[]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 Esle4442DevException DEVICES_ERR_UNEXPECTED
未知异常Unexpected error
-
CONN_ERROR
public static final Esle4442DevException CONN_ERROR
连接失败Connection error
-
ERR_INVALID_ARGUMENT
public static final Esle4442DevException ERR_INVALID_ARGUMENT
无效参数Invalid argument error
-
NO_SUPPORT_ERROR
public static final Esle4442DevException NO_SUPPORT_ERROR
不支持Not Support exception
-
DEVICES_ERR_NO_PERMISSION
public static final Esle4442DevException DEVICES_ERR_NO_PERMISSION
无权限异常no permission error
-
ERROR_DISABLED
public static final Esle4442DevException ERROR_DISABLED
模块被禁用module disabled
-
SLE4442_ATR_ERR
public static final Esle4442DevException SLE4442_ATR_ERR
ATR错误Card Atr error
-
SLE4442_CARD_LOCK
public static final Esle4442DevException SLE4442_CARD_LOCK
卡已上锁Card Locked
-
SLE4442_CARD_NOEXIST
public static final Esle4442DevException SLE4442_CARD_NOEXIST
卡不存在Card not exist
-
SLE4442_CARD_NOT_RESET
public static final Esle4442DevException SLE4442_CARD_NOT_RESET
卡未复位Card not reset
-
SLE4442_NOT_OPEN
public static final Esle4442DevException SLE4442_NOT_OPEN
Sle4442模块未开启Sle4442 module not opened
-
SLE4442_RdWr_ERR
public static final Esle4442DevException SLE4442_RdWr_ERR
读/写数据错误Read or write data error
-
SLE4442_SIZE_EXCEED
public static final Esle4442DevException SLE4442_SIZE_EXCEED
参数溢出Parameter size exceed
-
SLE4442_SLOT_ERR
public static final Esle4442DevException SLE4442_SLOT_ERR
槽错误Slot error
-
SLE4442_UP_SC_ERR
public static final Esle4442DevException SLE4442_UP_SC_ERR
更新安全数据错误Update security data error
-
SLE4442_VER_SC_ERR
public static final Esle4442DevException SLE4442_VER_SC_ERR
验证安全数据错误Verify security data error
-
-
Method Detail
-
values
public static Esle4442DevException[] 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 (Esle4442DevException c : Esle4442DevException.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Esle4442DevException 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()
-
-