public static final class ImageLoader.Error extends RuntimeException
ImageLoader if some error occurs during
loading process.ImageLoader.load(ImageLoader.Task),
ImageLoader.Callback.onImageLoadFailed(ImageLoader.Task, ImageLoader.Error),
Serialized Form| Modifier and Type | Field and Description |
|---|---|
int |
reason
Reason due to which has been this error dispatched.
|
static int |
REASON_DECODING
Reason indicating that an
Error has occurred due to a decoding error. |
static int |
REASON_IO
Reason indicating that an
Error has occurred due to an IO error. |
static int |
REASON_MEMORY
Reason indicating that an
Error has occurred due to a decoding error. |
static int |
REASON_NETWORK
Reason indicating that an
Error has occurred due to a network error. |
static int |
REASON_UNKNOWN
Reason indicating that an
Error has occurred due to an unknown reason. |
| Constructor and Description |
|---|
Error(int reason,
String detailMessage)
Same as
#Error(int, String, Throwable) with null throwable. |
Error(int reason,
String detailMessage,
Throwable cause)
Creates a new instance of Error with the specified parameters.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int REASON_UNKNOWN
Error has occurred due to an unknown reason.public static final int REASON_IO
Error has occurred due to an IO error.public static final int REASON_DECODING
Error has occurred due to a decoding error.public static final int REASON_NETWORK
Error has occurred due to a network error.public static final int REASON_MEMORY
Error has occurred due to a decoding error.public final int reason