public enum ImageError extends java.lang.Enum<ImageError>
| Enum Constant and Description |
|---|
BACKEND_ERROR
TODO
|
BASE
Base error code for Image module.
|
FUNCTION_NOT_IMPLEMENTED
Function not implemented.
|
IMAGE_SIZE_MISMATCH
The image sizes are not compatible for the requested operation.
|
INSUFFICIENT_BUFFER
The given buffer is too small.
|
INVALID_HANDLE
The handle is invalid.
|
INVALID_PARAMETER
The parameter is invalid.
|
INVALID_PIXEL_FORMAT
The required pixel format is not correct.
|
KEY_ALREADY_EXISTS
The given key is already used in the dictionary.
|
KEY_NOT_FOUND
The given key is not present in the dictionary.
|
MINIMUM
Minimum error code for Image module.
|
OBJECT_DOES_NOT_EXIST
The requested object does not exist; a 'null' should be returned if possible.
|
PIXEL_FORMAT_MISMATCH
The pixel formats are not compatible.
|
PYTHON_MODULE
An error as occured during python module initialization.
|
SUCCESS
No error.
|
| Modifier and Type | Method and Description |
|---|---|
static ImageError |
fromValue(int value)
Creates an enumeration value from int.
|
int |
getValue()
Gets the enumeration value as int.
|
static ImageError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageError SUCCESS
public static final ImageError INSUFFICIENT_BUFFER
public static final ImageError OBJECT_DOES_NOT_EXIST
public static final ImageError BASE
public static final ImageError MINIMUM
public static final ImageError INVALID_HANDLE
public static final ImageError INVALID_PARAMETER
public static final ImageError IMAGE_SIZE_MISMATCH
public static final ImageError PIXEL_FORMAT_MISMATCH
public static final ImageError KEY_ALREADY_EXISTS
public static final ImageError KEY_NOT_FOUND
public static final ImageError INVALID_PIXEL_FORMAT
public static final ImageError PYTHON_MODULE
public static final ImageError FUNCTION_NOT_IMPLEMENTED
public static final ImageError BACKEND_ERROR
public static ImageError[] values()
for (ImageError c : ImageError.values()) System.out.println(c);
public static ImageError 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 ImageError fromValue(int value)
value - The int value.Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.document