Enum Class W3WSearchError

java.lang.Object
java.lang.Enum<W3WSearchError>
com.here.sdk.search.W3WSearchError
All Implemented Interfaces:
Serializable, Comparable<W3WSearchError>, Constable

public enum W3WSearchError extends Enum<W3WSearchError>

Specifies possible errors that may result from a w3w search query.

  • Enum Constant Details

    • BAD_WORDS

      public static final W3WSearchError BAD_WORDS

      Invalid or non-existent 3 word address.

    • BAD_LANGUAGE

      public static final W3WSearchError BAD_LANGUAGE

      Bad parameter language.

    • MISSING_WORDS

      public static final W3WSearchError MISSING_WORDS

      Missing parameter: a required words parameter was missing.

    • PARSING_ERROR

      public static final W3WSearchError 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

      public static final W3WSearchError INTERNAL_ERROR

      Generic internal error.

    • SERVER_UNREACHABLE

      public static final W3WSearchError SERVER_UNREACHABLE

      What3Words server is unreachable.

    • HTTP_ERROR

      public static final W3WSearchError HTTP_ERROR

      A general network request error.

    • AUTHENTICATION_FAILED

      public static final W3WSearchError AUTHENTICATION_FAILED

      What3Words operation is not authenticated. Check your credentials.

    • EXCEEDED_USAGE_LIMIT

      public static final W3WSearchError EXCEEDED_USAGE_LIMIT

      Credentials exceeded the allowed requests limit.

    • TIMED_OUT

      public static final W3WSearchError TIMED_OUT

      The request timed out.

    • OFFLINE

      public static final W3WSearchError OFFLINE

      The device has no internet connection.

    • OPERATION_CANCELLED

      public static final W3WSearchError OPERATION_CANCELLED

      The request was cancelled (usually by the user).

    • PROXY_AUTHENTICATION_FAILED

      public static final W3WSearchError PROXY_AUTHENTICATION_FAILED

      Proxy is not authenticated. Check your proxy credentials.

    • PROXY_SERVER_UNREACHABLE

      public static final W3WSearchError PROXY_SERVER_UNREACHABLE

      Proxy server unreachable.

    • UNKNOWN

      public static final W3WSearchError UNKNOWN

      Unknown error, that was not introduced by HERE SDK, but exists on W3W backend.

  • Method Details

    • values

      public static W3WSearchError[] 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

      public static W3WSearchError valueOf(String name)
      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 name
      NullPointerException - if the argument is null