com.pax.dal.exceptions
Enum EFingerprintDevException
- java.lang.Object
-
- java.lang.Enum<EFingerprintDevException>
-
- com.pax.dal.exceptions.EFingerprintDevException
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EFingerprintDevException>
public enum EFingerprintDevException extends java.lang.Enum<EFingerprintDevException>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description DEVICES_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 errorFINGER_ERR_IS_OPEND指纹模块已openfingerprint module is openFINGER_ERR_IS_STARTED指纹模块已startfingerprint module has been startedFINGER_ERR_NOT_OPEND指纹模块未openfingerprint module is not openFINGER_ERR_NOT_POWER_OFF设备下电失败fingerprint module power off failureFINGER_ERR_NOT_POWER_ON设备上电失败fingerprint module power on failureFINGER_ERR_NOT_STARTED指纹模块未startfingerprint module not startedSERVICE_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 EFingerprintDevExceptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EFingerprintDevException[]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 EFingerprintDevException DEVICES_ERR_UNEXPECTED
未知异常unexpected error
-
DEVICES_ERR_INVALID_ARGUMENT
public static final EFingerprintDevException DEVICES_ERR_INVALID_ARGUMENT
参数错误invalid argument error
-
DEVICES_ERR_CONNECT
public static final EFingerprintDevException DEVICES_ERR_CONNECT
RPC I/O 连接异常connect error
-
DEVICES_ERR_NO_SUPPORT
public static final EFingerprintDevException DEVICES_ERR_NO_SUPPORT
不支持not support error
-
DEVICES_ERR_NO_PERMISSION
public static final EFingerprintDevException DEVICES_ERR_NO_PERMISSION
无权限异常no permission error
-
SERVICE_NOT_AVAILABLE
public static final EFingerprintDevException SERVICE_NOT_AVAILABLE
服务不可用service not available
-
FINGER_ERR_NOT_POWER_OFF
public static final EFingerprintDevException FINGER_ERR_NOT_POWER_OFF
设备下电失败fingerprint module power off failure
-
FINGER_ERR_NOT_POWER_ON
public static final EFingerprintDevException FINGER_ERR_NOT_POWER_ON
设备上电失败fingerprint module power on failure
-
FINGER_ERR_IS_OPEND
public static final EFingerprintDevException FINGER_ERR_IS_OPEND
指纹模块已openfingerprint module is open
-
FINGER_ERR_NOT_OPEND
public static final EFingerprintDevException FINGER_ERR_NOT_OPEND
指纹模块未openfingerprint module is not open
-
FINGER_ERR_IS_STARTED
public static final EFingerprintDevException FINGER_ERR_IS_STARTED
指纹模块已startfingerprint module has been started
-
FINGER_ERR_NOT_STARTED
public static final EFingerprintDevException FINGER_ERR_NOT_STARTED
指纹模块未startfingerprint module not started
-
-
Method Detail
-
values
public static EFingerprintDevException[] 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 (EFingerprintDevException c : EFingerprintDevException.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EFingerprintDevException 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()
-
-