-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum GifErrorEncapsulation of decoding errors occurring in native code. Three digit codes are equal to GIFLib error codes.
-
-
Field Summary
Fields Modifier and Type Field Description public final StringdescriptioninterrorCode
-
Enum Constant Summary
Enum Constants Enum Constant Description UNKNOWNUnknown error, should never appear
INVALID_BYTE_BUFFERInvalid and/or indirect byte buffer specified.
REWIND_FAILEDInput source rewind has failed, animation is stopped.
IMG_NOT_CONFINEDImage size exceeds screen size. Occurs only if input source changes after opening.Otherwise canvas is extended.
INVALID_IMG_DIMSInvalid image size, dimensions must be positive.
INVALID_SCR_DIMSInvalid screen size, dimensions must be positive.
NO_FRAMESNo frames found, at least one frame required.
EOF_TOO_SOONImage EOF detected before image complete.EOF means GIF terminator, not the end of input source.
IMAGE_DEFECTImage is defective, decoding aborted.
NOT_READABLEGiven file was not opened for read.
CLOSE_FAILEDFailed to close given input.
NOT_ENOUGH_MEMFailed to allocate required memory.
DATA_TOO_BIGNumber of pixels bigger than width * height.
WRONG_RECORDWrong record type detected.
NO_COLOR_MAPNeither global nor local color map found.
NO_IMAG_DSCRNo image descriptor detected.
NO_SCRN_DSCRNo screen descriptor detected.
NOT_GIF_FILEData is not in GIF format.
READ_FAILEDFailed to read from given input.
OPEN_FAILEDFailed to open given input.
NO_ERRORSpecial value indicating lack of errors.
-