W3WSearchError (API Reference)
Enum Class W3WSearchError
- All Implemented Interfaces:
Serializable,Comparable<W3WSearchError>,Constable
Specifies possible errors that may result from a w3w search query.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhat3Words operation is not authenticated.Bad parameterlanguage.Invalid or non-existent 3 word address.Credentials exceeded the allowed requests limit.A general network request error.Generic internal error.Missing parameter: a required words parameter was missing.The device has no internet connection.The request was cancelled (usually by the user).W3W backend return result with unexpected json schema.Proxy is not authenticated.Proxy server unreachable.What3Words server is unreachable.The request timed out.Unknown error, that was not introduced by HERE SDK, but exists on W3W backend. -
Method Summary
Modifier and TypeMethodDescriptionstatic W3WSearchErrorReturns the enum constant of this class with the specified name.static W3WSearchError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BAD_WORDS
Invalid or non-existent 3 word address.
-
BAD_LANGUAGE
Bad parameter
language. -
MISSING_WORDS
Missing parameter: a required words parameter was missing.
-
PARSING_ERROR
W3W backend return result with unexpected json schema. This is not expected to happen. Try updating to the newest version of the SDK. If the problem persists, please report a bug in the SDK.
-
INTERNAL_ERROR
Generic internal error.
-
SERVER_UNREACHABLE
What3Words server is unreachable.
-
HTTP_ERROR
A general network request error.
-
AUTHENTICATION_FAILED
What3Words operation is not authenticated. Check your credentials.
-
EXCEEDED_USAGE_LIMIT
Credentials exceeded the allowed requests limit.
-
TIMED_OUT
The request timed out.
-
OFFLINE
The device has no internet connection.
-
OPERATION_CANCELLED
The request was cancelled (usually by the user).
-
PROXY_AUTHENTICATION_FAILED
Proxy is not authenticated. Check your proxy credentials.
-
PROXY_SERVER_UNREACHABLE
Proxy server unreachable.
-
UNKNOWN
Unknown error, that was not introduced by HERE SDK, but exists on W3W backend.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-