Openfire 3.9.3 Javadoc

org.jivesoftware.openfire.clearspace
Enum ConnectionException.ErrorType

java.lang.Object
  extended by java.lang.Enum<ConnectionException.ErrorType>
      extended by 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>


Enum Constant Summary
AUTHENTICATION
           
OTHER
           
PAGE_NOT_FOUND
           
SERVICE_NOT_AVAIBLE
           
UNKNOWN_HOST
           
UPDATE_STATE
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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

Openfire 3.9.3 Javadoc

Copyright © 2003-2008 Jive Software.