HERE Android SDK Developer's Guide

CLE2Error

The class CLE2Error is a member of com.here.android.mpa.customlocation2.CLE2Request.

Class Summary

public static class CLE2Request.CLE2Error

extends java.lang.Object

Represents values describing possible search request errors.

[For complete information, see the section Class Details]

Nested Class Summary

Table 1. Nested Classes in CLE2Error
Nested Classes

public static final enumeration CLE2Request.CLE2Error.CLE2ErrorCode

Error codes

Constructor Summary

Table 2. Constructors in CLE2Error
Constructors

CLE2Error (CLE2ErrorCode code, String message)

Constructor to create a CLE2Error .

Field Summary

Table 3. Fields in CLE2Error
Fields

public static final String BUSY

The search service was busy with another request.

public static final String CANCELLED

Network request was cancelled.

public static final String INVALID_PARAMETER

A query request parameter was invalid.

public static final String NETWORK_COMMUNICATION

There was a network communications error.

public static final String NONE

No error was encountered.

public static final String OPERATION_NOT_ALLOWED

Access to this operation is denied.

public static final String UNKNOWN

Some other unexpected error occurred.

Method Summary

Table 4. Methods in CLE2Error
Methods

public CLE2ErrorCode getErrorCode ()

Get error code.

public String getErrorMessage ()

Get error description.

Class Details

Represents values describing possible search request errors.

Constructor Details

CLE2Error (CLE2ErrorCode code, String message)

Constructor to create a CLE2Error .

Parameters:

  • code

    - error code.

  • message

    - error message.

Field Details

public static final String BUSY

The search service was busy with another request.

public static final String CANCELLED

Network request was cancelled.

public static final String INVALID_PARAMETER

A query request parameter was invalid.

public static final String NETWORK_COMMUNICATION

There was a network communications error.

public static final String NONE

No error was encountered.

public static final String OPERATION_NOT_ALLOWED

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

public static final String UNKNOWN

Some other unexpected error occurred.

Method Details

public CLE2ErrorCode getErrorCode ()

Get error code.

Returns:

error code

public String getErrorMessage ()

Get error description.

Returns:

error message

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.