public static enum OperationHandlerException.ErrorType extends java.lang.Enum<OperationHandlerException.ErrorType>
| Enum Constant and Description |
|---|
BAD_REQUEST
The server cannot or will not process the request due to an apparent client error.
|
INTERNAL
An internal error occurred
|
NOT_FOUND
The requested resource could not be found but may be available in the future.
|
NOT_IMPLEMENTED
The server either does not recognize the request method, or it lacks the ability to fulfill
the request.
|
RESOURCE_EXHAUSTED
Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system
is out of space.
|
UNAUTHENTICATED
The client did not supply valid authentication credentials for this request.
|
UNAUTHORIZED
The caller does not have permission to execute the specified operation.
|
UNAVAILABLE
The server either does not recognize the request method, or it lacks the ability to fulfill
the request.
|
UPSTREAM_TIMEOUT
Used by gateways to report that a request to an upstream server has timed out.
|
| Modifier and Type | Method and Description |
|---|---|
static OperationHandlerException.ErrorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperationHandlerException.ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationHandlerException.ErrorType BAD_REQUEST
public static final OperationHandlerException.ErrorType UNAUTHENTICATED
public static final OperationHandlerException.ErrorType UNAUTHORIZED
public static final OperationHandlerException.ErrorType NOT_FOUND
public static final OperationHandlerException.ErrorType RESOURCE_EXHAUSTED
public static final OperationHandlerException.ErrorType INTERNAL
public static final OperationHandlerException.ErrorType NOT_IMPLEMENTED
public static final OperationHandlerException.ErrorType UNAVAILABLE
public static final OperationHandlerException.ErrorType UPSTREAM_TIMEOUT
public static OperationHandlerException.ErrorType[] values()
for (OperationHandlerException.ErrorType c : OperationHandlerException.ErrorType.values()) System.out.println(c);
public static OperationHandlerException.ErrorType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null