public static enum ManagerException.ErrorCode extends Enum<ManagerException.ErrorCode>
Enum Constant and Description |
---|
ALREADY_EXISTS
The target resource already exists.
|
BAD_GATEWAY
Requested service acts as a proxy to for a remote service which is currently unavailable / down.
|
CONFLICT
The request could not be completed due to a conflict with the current state of the target resource.
|
CORRUPT
The server understood the request but refuses to authorize it.
|
EXPIRED
The authentication credentials were expired for the target resource.
|
FORBIDDEN |
GATEWAY_TIMEOUT
Requested service acts as a proxy to for a remote service and requests for it time out.
|
ILLEGAL_ACCESS
The server tries to reflectively create an instance (other than an array), set or get a field, or invoke a method, but the currently executing method does not have access to the definition of the specified class, field, method or constructor.
|
ILLEGAL_ARGUMENTS
The server cannot or will not process the request due to something that is perceived to be a client error (e.g.,
invalid arguments).
|
INTERNAL_ERROR
The server encountered an unexpected condition that prevented it from fulfilling the request.
|
INVALID
The server cannot or will not process the request due to something that is perceived to be a client error (e.g.,
malformed request syntax, invalid request message framing).
|
LENGTH_REQUIRED
The server refuses to accept the request without a defined Content-Length.
|
METHOD_NOT_ALLOWED
The method received in the request-line is known by the origin server but not supported by the target resource.
|
NOT_ACCEPTABLE
The target resource does not have a current representation that would be acceptable to the user agent, according
to the proactive negotiation header fields received in the request, and the server is unwilling to supply a
default representation.
|
NOT_CONFIGURED
The server encountered an exception when the defined configuration is not correct.
|
NOT_FOUND
The origin server did not find a current representation for the target resource or is not willing to disclose
that one exists.
|
PAYMENT_REQUIRED |
PRECONDITION_FAILED
One or more conditions given in the request header fields evaluated to false when tested on the server.
|
PROXY_AUTHENTICATION_REQUIRED
Similar to 401 Unauthorized, but it indicates that the client needs to authenticate itself in order to use a
proxy.
|
REQUEST_ENTITY_TOO_LARGE
The server is refusing to process a request because the request payload is larger than the server is willing or
able to process.
|
REQUEST_URI_TOO_LONG
The server is refusing to service the request because the request-target is longer than the server is willing to
interpret.
|
RESOURCE_EXCEEDED
The server is refusing to process a request because the plan limit exceeded.
|
SERVICE_UNAVAILABLE
That the service is temporarily unavailable.
|
TEMPORARY_UNAVAILABLE
That the service/server is temporarily unavailable.
|
TIMEOUT
The server did not receive a complete request message within the time that it was prepared to wait.
|
TOO_MANY_REQUESTS
The user has sent too many requests in a given amount of time ("rate limiting").
|
UNAUTHORIZED
The request has not been applied because it lacks valid authentication credentials for the target resource.
|
UNKNOWN
The server encountered an unexpected condition and can not match any of the defined ones.
|
UNPROCESSABLE_ENTITY
The server understands the content type of the request entity (
REQUEST_ENTITY_TOO_LARGE is
inappropriate), and the syntax of the request entity is correct (ILLEGAL_ARGUMENTS ,ILLEGAL_ARGUMENTS , INVALID , is
inappropriate) but was unable to process the contained instructions. |
UNSUPPORTED
The server encountered an unexpected condition that prevented it from fulfilling the request.
|
Modifier and Type | Method and Description |
---|---|
int |
intCode() |
static ManagerException.ErrorCode |
of(int intCode) |
static ManagerException.ErrorCode |
of(String value) |
String |
value() |
static ManagerException.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ManagerException.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManagerException.ErrorCode ILLEGAL_ARGUMENTS
public static final ManagerException.ErrorCode ILLEGAL_ACCESS
public static final ManagerException.ErrorCode INVALID
public static final ManagerException.ErrorCode UNSUPPORTED
public static final ManagerException.ErrorCode NOT_CONFIGURED
public static final ManagerException.ErrorCode UNAUTHORIZED
public static final ManagerException.ErrorCode EXPIRED
public static final ManagerException.ErrorCode CORRUPT
public static final ManagerException.ErrorCode FORBIDDEN
public static final ManagerException.ErrorCode RESOURCE_EXCEEDED
public static final ManagerException.ErrorCode PAYMENT_REQUIRED
public static final ManagerException.ErrorCode NOT_FOUND
public static final ManagerException.ErrorCode METHOD_NOT_ALLOWED
public static final ManagerException.ErrorCode NOT_ACCEPTABLE
public static final ManagerException.ErrorCode PROXY_AUTHENTICATION_REQUIRED
public static final ManagerException.ErrorCode TIMEOUT
public static final ManagerException.ErrorCode ALREADY_EXISTS
public static final ManagerException.ErrorCode CONFLICT
public static final ManagerException.ErrorCode LENGTH_REQUIRED
public static final ManagerException.ErrorCode PRECONDITION_FAILED
public static final ManagerException.ErrorCode REQUEST_ENTITY_TOO_LARGE
public static final ManagerException.ErrorCode REQUEST_URI_TOO_LONG
public static final ManagerException.ErrorCode UNPROCESSABLE_ENTITY
REQUEST_ENTITY_TOO_LARGE
is
inappropriate), and the syntax of the request entity is correct (ILLEGAL_ARGUMENTS
,ILLEGAL_ARGUMENTS
, INVALID
, is
inappropriate) but was unable to process the contained instructions.public static final ManagerException.ErrorCode TOO_MANY_REQUESTS
public static final ManagerException.ErrorCode INTERNAL_ERROR
public static final ManagerException.ErrorCode BAD_GATEWAY
public static final ManagerException.ErrorCode SERVICE_UNAVAILABLE
public static final ManagerException.ErrorCode TEMPORARY_UNAVAILABLE
public static final ManagerException.ErrorCode GATEWAY_TIMEOUT
public static final ManagerException.ErrorCode UNKNOWN
public static ManagerException.ErrorCode[] values()
for (ManagerException.ErrorCode c : ManagerException.ErrorCode.values()) System.out.println(c);
public static ManagerException.ErrorCode 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 String value()
public int intCode()
public static ManagerException.ErrorCode of(String value)
public static ManagerException.ErrorCode of(int intCode)
Copyright © 2022 Bosch.IO GmbH. All rights reserved.