-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum ApngException.ErrorCode extends Enum<ApngException.ErrorCode>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classApngException.ErrorCode.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description ERR_STREAM_READ_FAILWhen an error occurs in java.io.InputStream.read.
ERR_UNEXPECTED_EOFWhen EOF came before reading the required size in java.io.InputStream.read.
ERR_INVALID_FILE_FORMATWhen an image was not in APNG format.
ERR_NOT_EXIST_IMAGEWhen using an image that has not yet been decoded or deleted.
ERR_FRAME_INDEX_OUT_OF_RANGEWhen using a frame outside the range of this image.
ERR_OUT_OF_MEMORYWhen memory can not be allocated.
ERR_BITMAP_OPERATIONWhen an error occurs in the operation to the android.graphics.Bitmap.
ERR_UNSUPPORTED_TYPEWhen an image is not supported APNG image. Example: tries to load non-4 channel image.(Currently, supported 4 channel image only.)
ERR_WITH_CHILD_EXCEPTIONWhen there is an inner exception.
-
Method Summary
Modifier and Type Method Description final IntegergetErrorCode()final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
getErrorCode
final Integer getErrorCode()
-
getOrdinal
final Integer getOrdinal()
-
-
-
-