com.pax.dal.exceptions
Enum ELivenessDetectException
- java.lang.Object
-
- java.lang.Enum<ELivenessDetectException>
-
- com.pax.dal.exceptions.ELivenessDetectException
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ELivenessDetectException>
public enum ELivenessDetectException extends java.lang.Enum<ELivenessDetectException>
-
-
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 errorLIVE_ERR_CAMERA未能检测到摄像头。The camera could not be detected.LIVE_ERR_EXEC执行失败。Exec failure.LIVE_ERR_NOT_DETECT未开始检测。Not detection error.LIVE_ERR_NOT_INIT未初始化异常。Uninitialized exception.LIVE_ERR_NOT_SETUI未setLiteUICallback。Not setLiteUICallback.LIVE_SUC_EXEC执行成功。Exec success.SERVICE_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 ELivenessDetectExceptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ELivenessDetectException[]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 ELivenessDetectException DEVICES_ERR_UNEXPECTED
未知异常unexpected error
-
DEVICES_ERR_INVALID_ARGUMENT
public static final ELivenessDetectException DEVICES_ERR_INVALID_ARGUMENT
参数错误invalid argument error
-
DEVICES_ERR_CONNECT
public static final ELivenessDetectException DEVICES_ERR_CONNECT
RPC I/O 连接异常connect error
-
DEVICES_ERR_NO_SUPPORT
public static final ELivenessDetectException DEVICES_ERR_NO_SUPPORT
不支持not support error
-
DEVICES_ERR_NO_PERMISSION
public static final ELivenessDetectException DEVICES_ERR_NO_PERMISSION
无权限异常no permission error
-
SERVICE_NOT_AVAILABLE
public static final ELivenessDetectException SERVICE_NOT_AVAILABLE
服务不可用。Service not available.
-
LIVE_SUC_EXEC
public static final ELivenessDetectException LIVE_SUC_EXEC
执行成功。Exec success.
-
LIVE_ERR_EXEC
public static final ELivenessDetectException LIVE_ERR_EXEC
执行失败。Exec failure.
-
LIVE_ERR_CAMERA
public static final ELivenessDetectException LIVE_ERR_CAMERA
未能检测到摄像头。The camera could not be detected.
-
LIVE_ERR_NOT_INIT
public static final ELivenessDetectException LIVE_ERR_NOT_INIT
未初始化异常。Uninitialized exception.
-
LIVE_ERR_NOT_DETECT
public static final ELivenessDetectException LIVE_ERR_NOT_DETECT
未开始检测。Not detection error.
-
LIVE_ERR_NOT_SETUI
public static final ELivenessDetectException LIVE_ERR_NOT_SETUI
未setLiteUICallback。Not setLiteUICallback.
-
-
Method Detail
-
values
public static ELivenessDetectException[] 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 (ELivenessDetectException c : ELivenessDetectException.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ELivenessDetectException 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()
-
-