public enum ImageErrorCode extends java.lang.Enum<ImageErrorCode>
| Enum Constant and Description |
|---|
BALANCE_ERROR
Not enough funds
|
GENERAL_ERROR
General error, possibly image was bad or the site couldn't resolve it.
|
INVALID_LOGIN
Credentials are invalid
|
NETWORK_ERROR
Some sort of network error (timeout, lost connection, server busy, etc...
|
OK
Nothing went wrong
|
UNKNOWN
Unknown error of some sort
|
| Modifier and Type | Method and Description |
|---|---|
static ImageErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageErrorCode OK
public static final ImageErrorCode BALANCE_ERROR
public static final ImageErrorCode NETWORK_ERROR
public static final ImageErrorCode INVALID_LOGIN
public static final ImageErrorCode GENERAL_ERROR
public static final ImageErrorCode UNKNOWN
public static ImageErrorCode[] values()
for (ImageErrorCode c : ImageErrorCode.values()) System.out.println(c);
public static ImageErrorCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null