public static enum Connection.NetworkError extends java.lang.Enum<Connection.NetworkError>
| Enum Constant and Description |
|---|
AUTH_ERROR |
CLIENT_ERROR |
NETWORK_ERROR |
OK |
RESULT_ERROR |
SERVER_ERROR |
UNKNOWN_ERROR |
URL_ERROR |
| Modifier and Type | Method and Description |
|---|---|
static Connection.NetworkError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Connection.NetworkError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Connection.NetworkError OK
public static final Connection.NetworkError URL_ERROR
public static final Connection.NetworkError NETWORK_ERROR
public static final Connection.NetworkError AUTH_ERROR
public static final Connection.NetworkError CLIENT_ERROR
public static final Connection.NetworkError SERVER_ERROR
public static final Connection.NetworkError RESULT_ERROR
public static final Connection.NetworkError UNKNOWN_ERROR
public static Connection.NetworkError[] values()
for (Connection.NetworkError c : Connection.NetworkError.values()) System.out.println(c);
public static Connection.NetworkError 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