Package com.regula.facesdk.enums
Enum MatchFacesErrorCode
- java.lang.Object
-
- java.lang.Enum<MatchFacesErrorCode>
-
- com.regula.facesdk.enums.MatchFacesErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MatchFacesErrorCode>
public enum MatchFacesErrorCode extends java.lang.Enum<MatchFacesErrorCode>
Error codes for the MatchFacesResponse errors.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description API_CALL_FAILED
CONTEXT_IS_NULL
Application context is nullDESCRIPTOR_EXTRACTOR_ERROR
FACE_ALIGNER_FAILED
FACE_NOT_DETECTED
IMAGE_EMPTY
IMAGES_COUNT_LIMIT_EXCEEDED
LANDMARKS_NOT_DETECTED
NO_LICENSE
PROCESSING_FAILED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MatchFacesErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MatchFacesErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IMAGE_EMPTY
public static final MatchFacesErrorCode IMAGE_EMPTY
-
FACE_NOT_DETECTED
public static final MatchFacesErrorCode FACE_NOT_DETECTED
-
LANDMARKS_NOT_DETECTED
public static final MatchFacesErrorCode LANDMARKS_NOT_DETECTED
-
FACE_ALIGNER_FAILED
public static final MatchFacesErrorCode FACE_ALIGNER_FAILED
-
DESCRIPTOR_EXTRACTOR_ERROR
public static final MatchFacesErrorCode DESCRIPTOR_EXTRACTOR_ERROR
-
IMAGES_COUNT_LIMIT_EXCEEDED
public static final MatchFacesErrorCode IMAGES_COUNT_LIMIT_EXCEEDED
-
API_CALL_FAILED
public static final MatchFacesErrorCode API_CALL_FAILED
-
PROCESSING_FAILED
public static final MatchFacesErrorCode PROCESSING_FAILED
-
NO_LICENSE
public static final MatchFacesErrorCode NO_LICENSE
-
CONTEXT_IS_NULL
public static final MatchFacesErrorCode CONTEXT_IS_NULL
Application context is null
-
-
Method Detail
-
values
public static MatchFacesErrorCode[] 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 (MatchFacesErrorCode c : MatchFacesErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MatchFacesErrorCode 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
-
-