com.pax.dal.exceptions
Enum EBaseDevException
- java.lang.Object
-
- java.lang.Enum<EBaseDevException>
-
- com.pax.dal.exceptions.EBaseDevException
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EBaseDevException>
public enum EBaseDevException extends java.lang.Enum<EBaseDevException>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description BASE_ERR_COMM_TIME_OUT通信超时comm time out errorBASE_ERR_FILE_NO_EXIST文件不存在file not exist errorBASE_ERR_FIle_SIG文件签名错误file signature errorBASE_ERR_FILE_TOOBIG文件太大file too big errorBASE_ERR_FILE_TYPE文件类型错误file type errorBASE_ERR_GET_CFG读取底座配置信息失败get configuration errorBASE_ERR_NOT_SUPPORT_CFG_KEY没有此Key对应的配置信息No configuration for this keyBASE_ERR_PARAM参数错误invalid argument errorBASE_ERR_READ_FILE读文件错误read file errorBASE_ERR_WRITE_FILE写文件错误write file errorDEVICES_ERR_CONNECTRPC I/O 连接异常connect errorDEVICES_ERR_INVALID_ARGUMENT参数错误invalid argument errorDEVICES_ERR_NO_PERMISSION无权限异常no permission errorDEVICES_ERR_NO_SUPPORT不支持not support errorDEVICES_ERR_UNEXPECTED未知异常unexpected errorSERVICE_NOT_AVAILABLE服务不可用错误service not available
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetErrCodeFromBasement()java.lang.StringgetErrMsg()static EBaseDevExceptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EBaseDevException[]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 EBaseDevException DEVICES_ERR_UNEXPECTED
未知异常unexpected error
-
DEVICES_ERR_INVALID_ARGUMENT
public static final EBaseDevException DEVICES_ERR_INVALID_ARGUMENT
参数错误invalid argument error
-
DEVICES_ERR_CONNECT
public static final EBaseDevException DEVICES_ERR_CONNECT
RPC I/O 连接异常connect error
-
DEVICES_ERR_NO_SUPPORT
public static final EBaseDevException DEVICES_ERR_NO_SUPPORT
不支持not support error
-
DEVICES_ERR_NO_PERMISSION
public static final EBaseDevException DEVICES_ERR_NO_PERMISSION
无权限异常no permission error
-
BASE_ERR_FILE_TYPE
public static final EBaseDevException BASE_ERR_FILE_TYPE
文件类型错误file type error
-
BASE_ERR_COMM_TIME_OUT
public static final EBaseDevException BASE_ERR_COMM_TIME_OUT
通信超时comm time out error
-
BASE_ERR_FILE_NO_EXIST
public static final EBaseDevException BASE_ERR_FILE_NO_EXIST
文件不存在file not exist error
-
BASE_ERR_FILE_TOOBIG
public static final EBaseDevException BASE_ERR_FILE_TOOBIG
文件太大file too big error
-
BASE_ERR_GET_CFG
public static final EBaseDevException BASE_ERR_GET_CFG
读取底座配置信息失败get configuration error
-
BASE_ERR_NOT_SUPPORT_CFG_KEY
public static final EBaseDevException BASE_ERR_NOT_SUPPORT_CFG_KEY
没有此Key对应的配置信息No configuration for this key
-
BASE_ERR_PARAM
public static final EBaseDevException BASE_ERR_PARAM
参数错误invalid argument error
-
BASE_ERR_READ_FILE
public static final EBaseDevException BASE_ERR_READ_FILE
读文件错误read file error
-
BASE_ERR_FIle_SIG
public static final EBaseDevException BASE_ERR_FIle_SIG
文件签名错误file signature error
-
BASE_ERR_WRITE_FILE
public static final EBaseDevException BASE_ERR_WRITE_FILE
写文件错误write file error
-
SERVICE_NOT_AVAILABLE
public static final EBaseDevException SERVICE_NOT_AVAILABLE
服务不可用错误service not available
-
-
Method Detail
-
values
public static EBaseDevException[] 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 (EBaseDevException c : EBaseDevException.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EBaseDevException 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()
-
-