public enum DocumentError extends java.lang.Enum<DocumentError>
| Enum Constant and Description |
|---|
BACKEND_ERROR
One of our computation backends failed for unknown reasons.
|
BASE
Base error code of the Document module.
|
FUNCTION_NOT_IMPLEMENTED
This function is not implemented.
|
INFERENCE_BACKEND_ERROR
The inference backend failed to infer, probably due to inconsistent input.
|
INSUFFICIENT_BUFFER
The given buffer is too small.
|
INSUFFICIENT_FRAME_NUMBER
The frame buffer is not full, and computation is not allowed.
|
INVALID_DOCUMENT_TEMPLATE_FORMAT
The format of the document template is invalid.
|
INVALID_DOCUMENT_TEMPLATE_PATH
The document template could not be found at the given path.
|
INVALID_HANDLE
The handle is invalid.
|
INVALID_MODEL_PATH
The model could not be found in the given directory path.
|
INVALID_PARAMETER
The parameter is invalid.
|
INVALID_PIXEL_FORMAT
The image pixel format is invalid.
|
MINIMUM
Minimum error code of the Document module.
|
OBJECT_DOES_NOT_EXIST
The requested object does not exist; a 'null' should be returned if possible.
|
PROCESSING_UNIT_UNAVAILABLE
The requested processing unit is not available in this build.
|
SUCCESS
No error.
|
UNKNOWN_ANNOTATION
The required element is not present in the document annotation.
|
UNLOADED_DOCUMENT_TEMPLATE
The document template required for this operation has not been loaded.
|
UNLOADED_MODEL
The model which is required for this operation has not been loaded.
|
| Modifier and Type | Method and Description |
|---|---|
static DocumentError |
fromValue(int value)
Creates an enumeration value from int.
|
int |
getValue()
Gets the enumeration value as int.
|
static DocumentError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocumentError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentError SUCCESS
public static final DocumentError INSUFFICIENT_BUFFER
public static final DocumentError OBJECT_DOES_NOT_EXIST
public static final DocumentError BASE
public static final DocumentError MINIMUM
public static final DocumentError INVALID_HANDLE
public static final DocumentError INVALID_PARAMETER
public static final DocumentError INVALID_PIXEL_FORMAT
public static final DocumentError INVALID_MODEL_PATH
public static final DocumentError INVALID_DOCUMENT_TEMPLATE_PATH
public static final DocumentError UNLOADED_MODEL
public static final DocumentError UNLOADED_DOCUMENT_TEMPLATE
public static final DocumentError UNKNOWN_ANNOTATION
public static final DocumentError INVALID_DOCUMENT_TEMPLATE_FORMAT
public static final DocumentError INSUFFICIENT_FRAME_NUMBER
public static final DocumentError BACKEND_ERROR
public static final DocumentError INFERENCE_BACKEND_ERROR
public static final DocumentError PROCESSING_UNIT_UNAVAILABLE
public static final DocumentError FUNCTION_NOT_IMPLEMENTED
public static DocumentError[] values()
for (DocumentError c : DocumentError.values()) System.out.println(c);
public static DocumentError valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static DocumentError fromValue(int value)
value - The int value.Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.document