com.nostra13.universalimageloader.core.assist
Enum FailReason
java.lang.Object
java.lang.Enum<FailReason>
com.nostra13.universalimageloader.core.assist.FailReason
- All Implemented Interfaces:
- Serializable, Comparable<FailReason>
public enum FailReason
- extends Enum<FailReason>
Presents the reason why image loading and displaying was failed
- Since:
- 1.0.0
- Author:
- Sergey Tarasevich (nostra13[at]gmail[dot]com)
Method Summary |
static FailReason |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FailReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
IO_ERROR
public static final FailReason IO_ERROR
OUT_OF_MEMORY
public static final FailReason OUT_OF_MEMORY
UNSUPPORTED_URI_SCHEME
public static final FailReason UNSUPPORTED_URI_SCHEME
NETWORK_DENIED
public static final FailReason NETWORK_DENIED
UNKNOWN
public static final FailReason UNKNOWN
values
public static FailReason[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (FailReason c : FailReason.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FailReason valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2011-2013. All Rights Reserved.