public static enum ConnectionException.ErrorType extends Enum<ConnectionException.ErrorType>
Enum Constant and Description |
---|
AUTHENTICATION |
OTHER |
PAGE_NOT_FOUND |
SERVICE_NOT_AVAIBLE |
UNKNOWN_HOST |
UPDATE_STATE |
Modifier and Type | Method and Description |
---|---|
static ConnectionException.ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionException.ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionException.ErrorType AUTHENTICATION
public static final ConnectionException.ErrorType PAGE_NOT_FOUND
public static final ConnectionException.ErrorType UPDATE_STATE
public static final ConnectionException.ErrorType UNKNOWN_HOST
public static final ConnectionException.ErrorType SERVICE_NOT_AVAIBLE
public static final ConnectionException.ErrorType OTHER
public static ConnectionException.ErrorType[] values()
for (ConnectionException.ErrorType c : ConnectionException.ErrorType.values()) System.out.println(c);
public static ConnectionException.ErrorType 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 nullCopyright © 2003-2008 Jive Software.