com.pax.dal.exceptions
Enum EPukDevException
- java.lang.Object
-
- java.lang.Enum<EPukDevException>
-
- com.pax.dal.exceptions.EPukDevException
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EPukDevException>
public enum EPukDevException extends java.lang.Enum<EPukDevException>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description DEVICES_ERR_CONNECTRPC I/O 连接异常connect errorDEVICES_ERR_NO_PERMISSION无权限异常no permission errorDEVICES_ERR_NO_SUPPORT不支持not support errorDEVICES_ERR_UNEXPECTED未知异常unexpected errorERR_INVALID_ARGUMENT无效参数Invalid argument errorPUK_ERR_RET_LEVELPUK等级错误PUK level errorPUK_ERR_RET_NO_SUPPORT不支持PUKPUK not support errorPUK_ERR_RET_NULLPUK无效值PUK is invalidPUK_ERR_RET_PARAMPUK参数错误Invalid paramPUK_ERR_RET_PUK1_EXPIRATIONPUK1过期PUK1 expiration errorPUK_ERR_RET_PUK2_EXPIRATIONPUK2过期PUK2 expiration errorPUK_ERR_RET_PUK3_EXPIRATIONPUK3过期PUK3 expiration errorPUK_ERR_RET_SIGPUK签名错误PUK signature errorPUK_ERR_RET_SIG_EXPIRATIONPUK签名过期PUK signature expiration errorPUK_ERR_RET_SIG_TYPEPUK签名类型错误PUK signature type errorPUK_ERR_RET_WRITEPUK写入错误PUK write error
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetErrCodeFromBasement()java.lang.StringgetErrMsg()static EPukDevExceptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EPukDevException[]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 EPukDevException DEVICES_ERR_UNEXPECTED
未知异常unexpected error
-
ERR_INVALID_ARGUMENT
public static final EPukDevException ERR_INVALID_ARGUMENT
无效参数Invalid argument error
-
DEVICES_ERR_CONNECT
public static final EPukDevException DEVICES_ERR_CONNECT
RPC I/O 连接异常connect error
-
DEVICES_ERR_NO_SUPPORT
public static final EPukDevException DEVICES_ERR_NO_SUPPORT
不支持not support error
-
DEVICES_ERR_NO_PERMISSION
public static final EPukDevException DEVICES_ERR_NO_PERMISSION
无权限异常no permission error
-
PUK_ERR_RET_LEVEL
public static final EPukDevException PUK_ERR_RET_LEVEL
PUK等级错误PUK level error
-
PUK_ERR_RET_NO_SUPPORT
public static final EPukDevException PUK_ERR_RET_NO_SUPPORT
不支持PUKPUK not support error
-
PUK_ERR_RET_NULL
public static final EPukDevException PUK_ERR_RET_NULL
PUK无效值PUK is invalid
-
PUK_ERR_RET_PARAM
public static final EPukDevException PUK_ERR_RET_PARAM
PUK参数错误Invalid param
-
PUK_ERR_RET_PUK1_EXPIRATION
public static final EPukDevException PUK_ERR_RET_PUK1_EXPIRATION
PUK1过期PUK1 expiration error
-
PUK_ERR_RET_PUK2_EXPIRATION
public static final EPukDevException PUK_ERR_RET_PUK2_EXPIRATION
PUK2过期PUK2 expiration error
-
PUK_ERR_RET_PUK3_EXPIRATION
public static final EPukDevException PUK_ERR_RET_PUK3_EXPIRATION
PUK3过期PUK3 expiration error
-
PUK_ERR_RET_SIG
public static final EPukDevException PUK_ERR_RET_SIG
PUK签名错误PUK signature error
-
PUK_ERR_RET_SIG_EXPIRATION
public static final EPukDevException PUK_ERR_RET_SIG_EXPIRATION
PUK签名过期PUK signature expiration error
-
PUK_ERR_RET_SIG_TYPE
public static final EPukDevException PUK_ERR_RET_SIG_TYPE
PUK签名类型错误PUK signature type error
-
PUK_ERR_RET_WRITE
public static final EPukDevException PUK_ERR_RET_WRITE
PUK写入错误PUK write error
-
-
Method Detail
-
values
public static EPukDevException[] 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 (EPukDevException c : EPukDevException.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EPukDevException 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()
-
-