Enum Class EVSearchError

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

public enum EVSearchError extends Enum<EVSearchError>

Specifies possible errors that EVSearchEngine may report. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

  • Enum Constant Details

    • EMPTY_IDS

      public static final EVSearchError EMPTY_IDS

      Empty list of IDs passed.

    • INVALID_ID

      public static final EVSearchError INVALID_ID

      At least one empty or invalid ID passed.

    • BAD_REQUEST

      public static final EVSearchError BAD_REQUEST

      Something wrong or missing in the request.

    • PARSING_ERROR

      public static final EVSearchError PARSING_ERROR

      EVCP3 backend returns result with unexpected json schema.

    • INTERNAL_ERROR

      public static final EVSearchError INTERNAL_ERROR

      Generic internal error.

    • SERVER_UNREACHABLE

      public static final EVSearchError SERVER_UNREACHABLE

      EVCP3 server is unreachable.

    • HTTP_ERROR

      public static final EVSearchError HTTP_ERROR

      A general network request error.

    • AUTHENTICATION_FAILED

      public static final EVSearchError AUTHENTICATION_FAILED

      EVCP3 operation is not authenticated. Check your credentials.

    • EXCEEDED_USAGE_LIMIT

      public static final EVSearchError EXCEEDED_USAGE_LIMIT

      Credentials exceeded the allowed requests limit.

    • TIMED_OUT

      public static final EVSearchError TIMED_OUT

      The request timed out.

    • OFFLINE

      public static final EVSearchError OFFLINE

      The device has no internet connection.

    • OPERATION_CANCELLED

      public static final EVSearchError OPERATION_CANCELLED

      The request was cancelled (usually by the user).

    • PROXY_AUTHENTICATION_FAILED

      public static final EVSearchError PROXY_AUTHENTICATION_FAILED

      Proxy is not authenticated. Check your proxy credentials.

    • PROXY_SERVER_UNREACHABLE

      public static final EVSearchError PROXY_SERVER_UNREACHABLE

      Proxy server unreachable.

    • NO_RESULTS_FOUND

      public static final EVSearchError NO_RESULTS_FOUND

      No results found.

    • OPERATION_FAILED

      public static final EVSearchError OPERATION_FAILED

      Search operation failed due to some reason.

  • Method Details

    • values

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