public static enum Proxy.Error extends Enum<Proxy.Error>
Enum Constant and Description |
---|
INVALID_PORT |
MISSING_SERVER |
MISSING_USERNAME |
Modifier and Type | Method and Description |
---|---|
static Proxy.Error |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Proxy.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Proxy.Error INVALID_PORT
public static final Proxy.Error MISSING_SERVER
public static final Proxy.Error MISSING_USERNAME
public static Proxy.Error[] values()
for (Proxy.Error c : Proxy.Error.values()) System.out.println(c);
public static Proxy.Error 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