com.pax.dal.exceptions
Enum EWLAttackDevException
- java.lang.Object
-
- java.lang.Enum<EWLAttackDevException>
-
- com.pax.dal.exceptions.EWLAttackDevException
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EWLAttackDevException>
public enum EWLAttackDevException extends java.lang.Enum<EWLAttackDevException>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description CLEAR_ATTACK_ERROR清触发失败Clear trigger failureDEVICES_ERR_COMMUNICATION_FAILURE通讯失败Communication failureDEVICES_ERR_CONNECTRPC I/O 连接异常connect errorDEVICES_ERR_INVALID_ARGUMENT参数错误invalid argument errorDEVICES_ERR_NO_SUPPORT不支持not support errorDEVICES_ERR_UNEXPECTED未知异常unexpected errorNO_ATTACK_TIME无触发时间no trigger timeNO_PERMISSION_CALL_ERROR无权限异常no permission error
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetErrCodeFromBasement()java.lang.StringgetErrMsg()static EWLAttackDevExceptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EWLAttackDevException[]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 EWLAttackDevException DEVICES_ERR_UNEXPECTED
未知异常unexpected error
-
DEVICES_ERR_INVALID_ARGUMENT
public static final EWLAttackDevException DEVICES_ERR_INVALID_ARGUMENT
参数错误invalid argument error
-
DEVICES_ERR_CONNECT
public static final EWLAttackDevException DEVICES_ERR_CONNECT
RPC I/O 连接异常connect error
-
DEVICES_ERR_NO_SUPPORT
public static final EWLAttackDevException DEVICES_ERR_NO_SUPPORT
不支持not support error
-
DEVICES_ERR_COMMUNICATION_FAILURE
public static final EWLAttackDevException DEVICES_ERR_COMMUNICATION_FAILURE
通讯失败Communication failure
-
NO_PERMISSION_CALL_ERROR
public static final EWLAttackDevException NO_PERMISSION_CALL_ERROR
无权限异常no permission error
-
NO_ATTACK_TIME
public static final EWLAttackDevException NO_ATTACK_TIME
无触发时间no trigger time
-
CLEAR_ATTACK_ERROR
public static final EWLAttackDevException CLEAR_ATTACK_ERROR
清触发失败Clear trigger failure
-
-
Method Detail
-
values
public static EWLAttackDevException[] 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 (EWLAttackDevException c : EWLAttackDevException.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EWLAttackDevException 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()
-
-