com.pax.dal.exceptions
Enum EFaceDetectException
- java.lang.Object
-
- java.lang.Enum<EFaceDetectException>
-
- com.pax.dal.exceptions.EFaceDetectException
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EFaceDetectException>
public enum EFaceDetectException extends java.lang.Enum<EFaceDetectException>
-
-
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 errorFACE_ERR_ACCESS_SERVER访问服务器失败。Server access failed.FACE_ERR_AUTH_INFO授权信息错误。Authorization information errorFACE_ERR_DEVICE_NOT_AUTH请求信息错误或设备未授权。Request information error or device unauthorized.FACE_ERR_EXEC执行失败。Exec failure.FACE_ERR_NO_FACE检测不到人脸。No face detected.FACE_ERR_NOT_INIT未初始化。Serice is not initialized.FACE_ERR_OUTSIDE_BITMAP矩形区域在Bitmap外。The rectangular area is outside the bitmap.FACE_ERR_PIC_TOO_LARGE图片分辨率太大。The picture resolution is too largeSERVICE_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 EFaceDetectExceptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EFaceDetectException[]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 EFaceDetectException DEVICES_ERR_UNEXPECTED
未知异常unexpected error
-
DEVICES_ERR_INVALID_ARGUMENT
public static final EFaceDetectException DEVICES_ERR_INVALID_ARGUMENT
参数错误invalid argument error
-
DEVICES_ERR_CONNECT
public static final EFaceDetectException DEVICES_ERR_CONNECT
RPC I/O 连接异常connect error
-
DEVICES_ERR_NO_SUPPORT
public static final EFaceDetectException DEVICES_ERR_NO_SUPPORT
不支持not support error
-
DEVICES_ERR_NO_PERMISSION
public static final EFaceDetectException DEVICES_ERR_NO_PERMISSION
无权限异常no permission error
-
SERVICE_NOT_AVAILABLE
public static final EFaceDetectException SERVICE_NOT_AVAILABLE
服务不可用。Service not available.
-
FACE_ERR_EXEC
public static final EFaceDetectException FACE_ERR_EXEC
执行失败。Exec failure.
-
FACE_ERR_ACCESS_SERVER
public static final EFaceDetectException FACE_ERR_ACCESS_SERVER
访问服务器失败。Server access failed.
-
FACE_ERR_DEVICE_NOT_AUTH
public static final EFaceDetectException FACE_ERR_DEVICE_NOT_AUTH
请求信息错误或设备未授权。Request information error or device unauthorized.
-
FACE_ERR_AUTH_INFO
public static final EFaceDetectException FACE_ERR_AUTH_INFO
授权信息错误。Authorization information error
-
FACE_ERR_NO_FACE
public static final EFaceDetectException FACE_ERR_NO_FACE
检测不到人脸。No face detected.
-
FACE_ERR_NOT_INIT
public static final EFaceDetectException FACE_ERR_NOT_INIT
未初始化。Serice is not initialized.
-
FACE_ERR_PIC_TOO_LARGE
public static final EFaceDetectException FACE_ERR_PIC_TOO_LARGE
图片分辨率太大。The picture resolution is too large
-
FACE_ERR_OUTSIDE_BITMAP
public static final EFaceDetectException FACE_ERR_OUTSIDE_BITMAP
矩形区域在Bitmap外。The rectangular area is outside the bitmap.
-
-
Method Detail
-
values
public static EFaceDetectException[] 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 (EFaceDetectException c : EFaceDetectException.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EFaceDetectException 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()
-
-