HERE Android SDK Developer's Guide

Error

The enumeration Error is a member of com.here.android.mpa.customlocation.Request.

Enumeration Summary

public static final enumeration Request.Error

extends java.lang.Enum, java.lang.Object

Represents values describing possible search request errors.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in Error
Fields

public static final Error NONE

No error was encountered.

public static final Error GENERAL

There was a general error.

public static final Error NOT_INITIALIZED

The search service was not properly initialized.

public static final Error BAD_REQUEST

The query request was malformed and will not be processed.

public static final Error INCOMPLETE

The results of the query request were incomplete.

public static final Error NOT_FOUND

No appropriate response to the query request could be found.

public static final Error FORBIDDEN

Access to the requested resource was forbidden.

public static final Error UNKNOWN

There was an unknown error.

public static final Error BUSY

The search service was busy with another request.

public static final Error CANCELLED

The query request was cancelled.

public static final Error SERVER_INTERNAL

There was an internal server error.

public static final Error NO_CONTENT

The response to the query request contained no content.

public static final Error INVALID_PARAMETER

A query request parameter was invalid.

public static final Error NETWORK_COMMUNICATION

There was a network communications error.

public static final Error INVALID_CREDENTIALS

The HERE application ID and application code were missing or invalid.

public static final Error UNAUTHORIZED

The query request did not contain necessary authentication information.

public static final Error SERVICE_UNAVAILABLE

The search service was unavailable.

public static final Error OPERATION_NOT_ALLOWED

Access to this operation is denied.

Method Summary

Table 2. Methods in Error
Methods

public static Error valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

public static Request.Error[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.

Enumeration Details

Represents values describing possible search request errors.

Enum Constant Details

public static final Error NONE

No error was encountered.

public static final Error GENERAL

There was a general error.

public static final Error NOT_INITIALIZED

The search service was not properly initialized.

public static final Error BAD_REQUEST

The query request was malformed and will not be processed.

public static final Error INCOMPLETE

The results of the query request were incomplete.

public static final Error NOT_FOUND

No appropriate response to the query request could be found.

public static final Error FORBIDDEN

Access to the requested resource was forbidden.

public static final Error UNKNOWN

There was an unknown error.

public static final Error BUSY

The search service was busy with another request.

public static final Error CANCELLED

The query request was cancelled.

public static final Error SERVER_INTERNAL

There was an internal server error.

public static final Error NO_CONTENT

The response to the query request contained no content.

public static final Error INVALID_PARAMETER

A query request parameter was invalid.

public static final Error NETWORK_COMMUNICATION

There was a network communications error.

public static final Error INVALID_CREDENTIALS

The HERE application ID and application code were missing or invalid.

public static final Error UNAUTHORIZED

The query request did not contain necessary authentication information.

public static final Error SERVICE_UNAVAILABLE

The search service was unavailable.

public static final Error OPERATION_NOT_ALLOWED

Access to this operation is denied. Contact your HERE representative for more information.

Method Details

public static Error valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

Parameters:

  • name

    A string containing the name of the enumeration member whose value is to be retrieved.

public static Request.Error[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.