Enum VerIDCoreException.Code

    • Enum Constant Detail

      • NULL_IMAGE_BUFFER

        public static final VerIDCoreException.Code NULL_IMAGE_BUFFER
        Thrown when null is passed as image buffer to the face detection/recognition library
      • EMPTY_IMAGE_BUFFER

        public static final VerIDCoreException.Code EMPTY_IMAGE_BUFFER
        Thrown when an empty image buffer is passed to the face detection/recognition library
      • NULL_IMAGE_SIZE

        public static final VerIDCoreException.Code NULL_IMAGE_SIZE
        Thrown when a null is passed as image size to the face detection/recognition library
      • INVALID_IMAGE_WIDTH

        public static final VerIDCoreException.Code INVALID_IMAGE_WIDTH
        Thrown when image size with width <= 0 is passed to the face detection/recognition library
      • INVALID_IMAGE_HEIGHT

        public static final VerIDCoreException.Code INVALID_IMAGE_HEIGHT
        Thrown when image size with height <= 0 is passed to the face detection/recognition library
      • FACE_TRACKING_FAILURE

        public static final VerIDCoreException.Code FACE_TRACKING_FAILURE
        Thrown when face tracking fails
      • UNSUPPORTED_IMAGE_TYPE

        public static final VerIDCoreException.Code UNSUPPORTED_IMAGE_TYPE
        Thrown when the image passed to the face detection/recognition library doesn't contain one of the supported buffer types (YUV, grayscale, or bitmap)
      • FACE_DETECTION_FAILURE

        public static final VerIDCoreException.Code FACE_DETECTION_FAILURE
        Thrown when face detection fails
      • UNSUPPORTED_PIXEL_FORMAT

        public static final VerIDCoreException.Code UNSUPPORTED_PIXEL_FORMAT
        Thrown when the pixel format in the image buffer passed to the face detection/recognition library is unsupported. Supported formats are grayscale, NV21, RGB, BGR, RGBA, BGRA, ARGB, ABGR.
      • DIAGNOSTIC_IMAGE_ERROR

        public static final VerIDCoreException.Code DIAGNOSTIC_IMAGE_ERROR
        Thrown when the face detection/recognition library is unable to generate a face diagnostic image
      • FACE_TEMPLATE_EXTRACTION_FAILURE

        public static final VerIDCoreException.Code FACE_TEMPLATE_EXTRACTION_FAILURE
        Thrown when face template extraction fails
      • FACE_TEMPLATE_ENCRYPTED

        public static final VerIDCoreException.Code FACE_TEMPLATE_ENCRYPTED
        Thrown when an encrypted face template is passed to the face comparison function
      • RAW_FACE_TEMPLATE_ERROR

        public static final VerIDCoreException.Code RAW_FACE_TEMPLATE_ERROR
        Thrown when getting the raw face template fails
      • FACE_COMPARISON_ERROR

        public static final VerIDCoreException.Code FACE_COMPARISON_ERROR
        Thrown when face comparison fails
      • FACE_TEMPLATE_ENCRYPTION_ERROR

        public static final VerIDCoreException.Code FACE_TEMPLATE_ENCRYPTION_ERROR
        Thrown when face template encryption fails
      • FACE_TEMPLATE_DECRYPTION_ERROR

        public static final VerIDCoreException.Code FACE_TEMPLATE_DECRYPTION_ERROR
        Thrown when face template decryption fails
      • USER_NOT_REGISTERED

        public static final VerIDCoreException.Code USER_NOT_REGISTERED
        Thrown when attempting to authenticate a user who isn't registered
      • IMAGE_ENCODING_ERROR

        public static final VerIDCoreException.Code IMAGE_ENCODING_ERROR
        Thrown when an image cannot be encoded to a bitmap
      • READ_ONLY_DATABASE_WRITE

        public static final VerIDCoreException.Code READ_ONLY_DATABASE_WRITE
        Thrown when attempting to write to a read-only database
      • DATABASE_NOT_FOUND

        public static final VerIDCoreException.Code DATABASE_NOT_FOUND
        Thrown when attempting to read from a non-existent database
      • KEY_STORE_ERROR

        public static final VerIDCoreException.Code KEY_STORE_ERROR
        Thrown when loading of key store fails
      • UNRECOGNIZED_KEY_ALIAS

        public static final VerIDCoreException.Code UNRECOGNIZED_KEY_ALIAS
        Thrown when using a key alias not present in the key store
      • SECRET_KEY_UNAVAILABLE

        public static final VerIDCoreException.Code SECRET_KEY_UNAVAILABLE
        Thrown when secret key used for template encryption is unavailable
      • DETRECLIB_INSTANCE_UNAVAILABLE

        public static final VerIDCoreException.Code DETRECLIB_INSTANCE_UNAVAILABLE
        Thrown when an instance of the low-level face detection/recognition library is unavailable
      • FACE_TEMPLATE_TRANSCRIPTION_ERROR_INVALID_TARGET_VERSION

        public static final VerIDCoreException.Code FACE_TEMPLATE_TRANSCRIPTION_ERROR_INVALID_TARGET_VERSION
      • USER_MISSING_REQUIRED_FACE_TEMPLATES

        public static final VerIDCoreException.Code USER_MISSING_REQUIRED_FACE_TEMPLATES
      • SIMILAR_FACE_REGISTERED_AS_ANOTHER_USER

        public static final VerIDCoreException.Code SIMILAR_FACE_REGISTERED_AS_ANOTHER_USER
      • INCOMPATIBLE_FACE_RECOGNITION_IMPLEMENTATION

        public static final VerIDCoreException.Code INCOMPATIBLE_FACE_RECOGNITION_IMPLEMENTATION
      • USER_MANAGEMENT_CONTAINS_INCOMPATIBLE_FACES

        public static final VerIDCoreException.Code USER_MANAGEMENT_CONTAINS_INCOMPATIBLE_FACES
    • Method Detail

      • values

        public static VerIDCoreException.Code[] 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 (VerIDCoreException.Code c : VerIDCoreException.Code.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VerIDCoreException.Code 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 name
        java.lang.NullPointerException - if the argument is null