org.jivesoftware.openfire.clearspace
Enum ConnectionException.ErrorType
java.lang.Object
java.lang.Enum<ConnectionException.ErrorType>
org.jivesoftware.openfire.clearspace.ConnectionException.ErrorType
- All Implemented Interfaces:
- Serializable, Comparable<ConnectionException.ErrorType>
- Enclosing class:
- ConnectionException
public static enum ConnectionException.ErrorType
- extends Enum<ConnectionException.ErrorType>
AUTHENTICATION
public static final ConnectionException.ErrorType AUTHENTICATION
PAGE_NOT_FOUND
public static final ConnectionException.ErrorType PAGE_NOT_FOUND
UPDATE_STATE
public static final ConnectionException.ErrorType UPDATE_STATE
UNKNOWN_HOST
public static final ConnectionException.ErrorType UNKNOWN_HOST
SERVICE_NOT_AVAIBLE
public static final ConnectionException.ErrorType SERVICE_NOT_AVAIBLE
OTHER
public static final ConnectionException.ErrorType OTHER
values
public static ConnectionException.ErrorType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ConnectionException.ErrorType c : ConnectionException.ErrorType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ConnectionException.ErrorType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2003-2008 Jive Software.