Enum Constant and Description |
---|
ACCEPTED
The query request was accepted, though not yet processed.
|
BAD_LOCATION
The query request contained bad location data.
|
BAD_REQUEST
The query request was malformed and will not be processed.
|
BUSY
The search service was busy with another request.
|
CANCEL
The query request was cancelled.
|
CANCELLED
The query request was cancelled.
|
CREATED
The response to the query request was created.
|
FORBIDDEN
Access to the requested resource was forbidden.
|
GENERAL
There was a general error.
|
HTTP
The query request failed due to an HTTP error.
|
INCOMPLETE
The results of the query request were incomplete.
|
INDEX_FAILURE
There was an search service index failure.
|
INVALID_CREDENTIALS
The application ID and/or token were missing or invalid.
|
INVALID_OPERATION
The query request triggered an invalid operation.
|
INVALID_PARAMETER
A query request parameter was invalid.
|
INVALID_STATE
The search service was in an invalid state.
|
MOVED_PERMANENTLY
The requested resource has moved permanently.
|
NETWORK_BAD_URI
The HTTP request URI was invalid or malformed.
|
NETWORK_COMMUNICATION
There was a network communications error.
|
NETWORK_EMPTY_INPUT
The query request input was missing.
|
NETWORK_REQUEST_CONTENT
The query request content was invalid.
|
NETWORK_REQUIRED
The query request could not be completed while offline.
|
NETWORK_SERVER
The backend server was unreachable.
|
NETWORK_UNKNOWN
There was an unknown network error.
|
NO_CONTENT
The response to the query request contained no content.
|
NONE
No error was encountered.
|
NOT_ACCEPTABLE
The response to the query request was not in a format that is acceptable
to the client.
|
NOT_FOUND
No appropriate response to the query request could be found.
|
NOT_INITIALIZED
The search service was not properly initialized.
|
OPERATION_NOT_ALLOWED
The required permission to use Offline Place Search, Offline Category Search, Offline
Geocoding or Offline Reverse GeoCoding is missing.
|
OUT_OF_MEMORY
There was insufficient memory to complete the query request.
|
QUERY_ADDRESS_MISSING
The query request was missing an address parameter.
|
QUERY_LOCATION_CONTEXT_INVALID
The query location context was invalid.
|
QUERY_LOCATION_CONTEXT_MISSING
The query request was missing a location context parameter.
|
QUERY_NO_NEXT_PAGE
No further paginated results exist.
|
QUERY_TEXT_MISSING
The query request was missing a search text parameter.
|
QUERY_URI_MISSING
The query request was missing a link URI.
|
RESOURCE_GONE
The resource no longer exists at the requested server location.
|
SEARCH_RESULT_ITEM_MISSING
The place details query was missing a search result item parameter.
|
SERVER_CONNECTION
There was a problem with the server connection.
|
SERVER_INTERNAL
There was an internal server error.
|
SERVICE_UNAVAILABLE
The search service was unavailable.
|
UNAUTHORIZED
The query request did not contain necessary authentication information.
|
UNKNOWN
There was an unknown error.
|
Modifier and Type | Method and Description |
---|---|
static ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode NONE
public static final ErrorCode GENERAL
public static final ErrorCode NOT_FOUND
public static final ErrorCode NOT_INITIALIZED
public static final ErrorCode INCOMPLETE
public static final ErrorCode NETWORK_REQUIRED
public static final ErrorCode OUT_OF_MEMORY
public static final ErrorCode UNKNOWN
public static final ErrorCode CANCEL
public static final ErrorCode BUSY
public static final ErrorCode INVALID_STATE
public static final ErrorCode SERVER_CONNECTION
public static final ErrorCode INVALID_OPERATION
public static final ErrorCode BAD_LOCATION
public static final ErrorCode INDEX_FAILURE
public static final ErrorCode CANCELLED
public static final ErrorCode CREATED
public static final ErrorCode ACCEPTED
public static final ErrorCode NO_CONTENT
public static final ErrorCode SERVER_INTERNAL
public static final ErrorCode SERVICE_UNAVAILABLE
public static final ErrorCode MOVED_PERMANENTLY
public static final ErrorCode BAD_REQUEST
public static final ErrorCode UNAUTHORIZED
public static final ErrorCode FORBIDDEN
public static final ErrorCode OPERATION_NOT_ALLOWED
public static final ErrorCode NOT_ACCEPTABLE
public static final ErrorCode RESOURCE_GONE
public static final ErrorCode QUERY_ADDRESS_MISSING
public static final ErrorCode QUERY_LOCATION_CONTEXT_INVALID
public static final ErrorCode QUERY_LOCATION_CONTEXT_MISSING
public static final ErrorCode QUERY_NO_NEXT_PAGE
public static final ErrorCode QUERY_TEXT_MISSING
public static final ErrorCode QUERY_URI_MISSING
public static final ErrorCode SEARCH_RESULT_ITEM_MISSING
public static final ErrorCode INVALID_PARAMETER
public static final ErrorCode NETWORK_COMMUNICATION
public static final ErrorCode NETWORK_BAD_URI
public static final ErrorCode NETWORK_SERVER
public static final ErrorCode NETWORK_REQUEST_CONTENT
public static final ErrorCode NETWORK_EMPTY_INPUT
public static final ErrorCode INVALID_CREDENTIALS
public static final ErrorCode HTTP
public static final ErrorCode NETWORK_UNKNOWN
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode 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