net.bioclipse.xws.exceptions
Enum XwsException.ErrorCode

java.lang.Object
  extended by java.lang.Enum<XwsException.ErrorCode>
      extended by net.bioclipse.xws.exceptions.XwsException.ErrorCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<XwsException.ErrorCode>
Enclosing class:
XwsException

public static enum XwsException.ErrorCode
extends java.lang.Enum<XwsException.ErrorCode>


Enum Constant Summary
INVALID_OPERATION
           
INVALID_RESPONSE
           
INVALID_SERVICE
           
NOT_SET
           
PROCESS_FAILED
           
TIMEOUT
           
 
Method Summary
static XwsException.ErrorCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static XwsException.ErrorCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOT_SET

public static final XwsException.ErrorCode NOT_SET

INVALID_OPERATION

public static final XwsException.ErrorCode INVALID_OPERATION

INVALID_RESPONSE

public static final XwsException.ErrorCode INVALID_RESPONSE

PROCESS_FAILED

public static final XwsException.ErrorCode PROCESS_FAILED

INVALID_SERVICE

public static final XwsException.ErrorCode INVALID_SERVICE

TIMEOUT

public static final XwsException.ErrorCode TIMEOUT
Method Detail

values

public static XwsException.ErrorCode[] 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 (XwsException.ErrorCode c : XwsException.ErrorCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static XwsException.ErrorCode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null