org.apache.qpid.transport
Enum ExecutionErrorCode

java.lang.Object
  extended by java.lang.Enum<ExecutionErrorCode>
      extended by org.apache.qpid.transport.ExecutionErrorCode
All Implemented Interfaces:
Serializable, Comparable<ExecutionErrorCode>

public enum ExecutionErrorCode
extends Enum<ExecutionErrorCode>


Enum Constant Summary
COMMAND_INVALID
           
ILLEGAL_ARGUMENT
           
ILLEGAL_STATE
           
INTERNAL_ERROR
           
INVALID_ARGUMENT
           
NOT_ALLOWED
           
NOT_FOUND
           
NOT_IMPLEMENTED
           
PRECONDITION_FAILED
           
RESOURCE_DELETED
           
RESOURCE_LIMIT_EXCEEDED
           
RESOURCE_LOCKED
           
UNAUTHORIZED_ACCESS
           
 
Method Summary
static ExecutionErrorCode get(int value)
           
 int getValue()
           
static ExecutionErrorCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ExecutionErrorCode[] 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

UNAUTHORIZED_ACCESS

public static final ExecutionErrorCode UNAUTHORIZED_ACCESS

NOT_FOUND

public static final ExecutionErrorCode NOT_FOUND

RESOURCE_LOCKED

public static final ExecutionErrorCode RESOURCE_LOCKED

PRECONDITION_FAILED

public static final ExecutionErrorCode PRECONDITION_FAILED

RESOURCE_DELETED

public static final ExecutionErrorCode RESOURCE_DELETED

ILLEGAL_STATE

public static final ExecutionErrorCode ILLEGAL_STATE

COMMAND_INVALID

public static final ExecutionErrorCode COMMAND_INVALID

RESOURCE_LIMIT_EXCEEDED

public static final ExecutionErrorCode RESOURCE_LIMIT_EXCEEDED

NOT_ALLOWED

public static final ExecutionErrorCode NOT_ALLOWED

ILLEGAL_ARGUMENT

public static final ExecutionErrorCode ILLEGAL_ARGUMENT

NOT_IMPLEMENTED

public static final ExecutionErrorCode NOT_IMPLEMENTED

INTERNAL_ERROR

public static final ExecutionErrorCode INTERNAL_ERROR

INVALID_ARGUMENT

public static final ExecutionErrorCode INVALID_ARGUMENT
Method Detail

values

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

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

valueOf

public static ExecutionErrorCode 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

getValue

public int getValue()

get

public static ExecutionErrorCode get(int value)


Licensed to the Apache Software Foundation