com.pax.dal.exceptions
Enum EWLEKUDevException
- java.lang.Object
-
- java.lang.Enum<EWLEKUDevException>
-
- com.pax.dal.exceptions.EWLEKUDevException
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EWLEKUDevException>
public enum EWLEKUDevException extends java.lang.Enum<EWLEKUDevException>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description EKU_TYPE_ERROR类型错误type errorFORMAT_TASK_RUNNING格式化正在运行formatting is runningNO_PERMISSION_CALL_ERROR无调用权限no permission 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 EWLEKUDevExceptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EWLEKUDevException[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EKU_TYPE_ERROR
public static final EWLEKUDevException EKU_TYPE_ERROR
类型错误type error
-
FORMAT_TASK_RUNNING
public static final EWLEKUDevException FORMAT_TASK_RUNNING
格式化正在运行formatting is running
-
NO_PERMISSION_CALL_ERROR
public static final EWLEKUDevException NO_PERMISSION_CALL_ERROR
无调用权限no permission error
-
SERVICE_NOT_AVAILABLE
public static final EWLEKUDevException SERVICE_NOT_AVAILABLE
服务不可用错误service not available
-
-
Method Detail
-
values
public static EWLEKUDevException[] 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 (EWLEKUDevException c : EWLEKUDevException.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EWLEKUDevException 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()
-
-