public enum ExecutionErrorCode extends Enum<ExecutionErrorCode>
Enum Constant and Description |
---|
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 |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final ExecutionErrorCode UNAUTHORIZED_ACCESS
public static final ExecutionErrorCode NOT_FOUND
public static final ExecutionErrorCode RESOURCE_LOCKED
public static final ExecutionErrorCode PRECONDITION_FAILED
public static final ExecutionErrorCode RESOURCE_DELETED
public static final ExecutionErrorCode ILLEGAL_STATE
public static final ExecutionErrorCode COMMAND_INVALID
public static final ExecutionErrorCode RESOURCE_LIMIT_EXCEEDED
public static final ExecutionErrorCode NOT_ALLOWED
public static final ExecutionErrorCode ILLEGAL_ARGUMENT
public static final ExecutionErrorCode NOT_IMPLEMENTED
public static final ExecutionErrorCode INTERNAL_ERROR
public static final ExecutionErrorCode INVALID_ARGUMENT
public static ExecutionErrorCode[] values()
for (ExecutionErrorCode c : ExecutionErrorCode.values()) System.out.println(c);
public static ExecutionErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static ExecutionErrorCode get(int value)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.