com.pax.dal.exceptions
Enum EPhoneDevException
- java.lang.Object
-
- java.lang.Enum<EPhoneDevException>
-
- com.pax.dal.exceptions.EPhoneDevException
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EPhoneDevException>
public enum EPhoneDevException extends java.lang.Enum<EPhoneDevException>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description DEVICES_ERR_CONNECTRPC I/O 连接异常connect errorDEVICES_ERR_INVALID_ARGUMENT参数无效parameter invalidDEVICES_ERR_NO_PERMISSION无权限异常no permission errorDEVICES_ERR_NO_SUPPORT不支持此机型not support for this deviceDEVICES_ERR_UNEXPECTED未知异常unexpected errorINPUT_INVALID_ERR输入无效错误input invalid errorNO_MORE_OPERATIONAL_CARD没有可操作的卡no more operational cardOPERATION_INVALID_ERR操作无效错误operation invalid errorSERVICE_ACCESS_DENIED服务访问被拒绝service access deniedSERVICE_BIND_FAIL服务绑定失败service bind failSERVICE_INIT_FAIL服务初始化失败service init failSERVICE_NOT_AVAILABLE服务不可用service not availableSERVICE_NOT_EXIST服务不存在service not existSERVICE_NOT_READY服务未就绪service not ready"SERVICE_SWITCHING服务切换service switchingSERVICE_TOO_FREQUENTLY服务过于频繁service too frequentlySERVICE_UNKNOW_ERR服务未知错误service unknow error
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetErrCodeFromBasement()java.lang.StringgetErrMsg()static EPhoneDevExceptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EPhoneDevException[]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 EPhoneDevException DEVICES_ERR_UNEXPECTED
未知异常unexpected error
-
SERVICE_NOT_AVAILABLE
public static final EPhoneDevException SERVICE_NOT_AVAILABLE
服务不可用service not available
-
SERVICE_UNKNOW_ERR
public static final EPhoneDevException SERVICE_UNKNOW_ERR
服务未知错误service unknow error
-
SERVICE_ACCESS_DENIED
public static final EPhoneDevException SERVICE_ACCESS_DENIED
服务访问被拒绝service access denied
-
SERVICE_BIND_FAIL
public static final EPhoneDevException SERVICE_BIND_FAIL
服务绑定失败service bind fail
-
SERVICE_NOT_EXIST
public static final EPhoneDevException SERVICE_NOT_EXIST
服务不存在service not exist
-
SERVICE_INIT_FAIL
public static final EPhoneDevException SERVICE_INIT_FAIL
服务初始化失败service init fail
-
SERVICE_NOT_READY
public static final EPhoneDevException SERVICE_NOT_READY
服务未就绪service not ready"
-
SERVICE_SWITCHING
public static final EPhoneDevException SERVICE_SWITCHING
服务切换service switching
-
SERVICE_TOO_FREQUENTLY
public static final EPhoneDevException SERVICE_TOO_FREQUENTLY
服务过于频繁service too frequently
-
OPERATION_INVALID_ERR
public static final EPhoneDevException OPERATION_INVALID_ERR
操作无效错误operation invalid error
-
INPUT_INVALID_ERR
public static final EPhoneDevException INPUT_INVALID_ERR
输入无效错误input invalid error
-
NO_MORE_OPERATIONAL_CARD
public static final EPhoneDevException NO_MORE_OPERATIONAL_CARD
没有可操作的卡no more operational card
-
DEVICES_ERR_INVALID_ARGUMENT
public static final EPhoneDevException DEVICES_ERR_INVALID_ARGUMENT
参数无效parameter invalid
-
DEVICES_ERR_NO_SUPPORT
public static final EPhoneDevException DEVICES_ERR_NO_SUPPORT
不支持此机型not support for this device
-
DEVICES_ERR_CONNECT
public static final EPhoneDevException DEVICES_ERR_CONNECT
RPC I/O 连接异常connect error
-
DEVICES_ERR_NO_PERMISSION
public static final EPhoneDevException DEVICES_ERR_NO_PERMISSION
无权限异常no permission error
-
-
Method Detail
-
values
public static EPhoneDevException[] 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 (EPhoneDevException c : EPhoneDevException.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EPhoneDevException 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()
-
-