org.apache.qpid.transport
Enum ExecutionErrorCode
java.lang.Object
java.lang.Enum<ExecutionErrorCode>
org.apache.qpid.transport.ExecutionErrorCode
- All Implemented Interfaces:
- Serializable, Comparable<ExecutionErrorCode>
public enum ExecutionErrorCode
- extends Enum<ExecutionErrorCode>
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
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