public enum ErrorReason extends Enum<ErrorReason>
Enum Constant and Description |
---|
INTERNAL
An internal error caused the failure.
|
NETWORK
An network error, such as no network connection, caused the failure.
|
NO_FILL
There were no ads to render.
|
Modifier and Type | Method and Description |
---|---|
static ErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorReason INTERNAL
public static final ErrorReason NETWORK
public static final ErrorReason NO_FILL
public static ErrorReason[] values()
for (ErrorReason c : ErrorReason.values()) System.out.println(c);
public static ErrorReason valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null