HERE Android SDK Developer's Guide

CLE2ErrorCode

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

Enumeration Summary

public static final enumeration CLE2Request.CLE2Error.CLE2ErrorCode

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

Error codes

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in CLE2ErrorCode
Fields

public static final CLE2ErrorCode NONE

No error code.

public static final CLE2ErrorCode INVALID_PARAMETER

Invalid parameter.

public static final CLE2ErrorCode NETWORK_COMMUNICATION

Network communication.

public static final CLE2ErrorCode OPERATION_NOT_ALLOWED

Operation not allowed.

public static final CLE2ErrorCode DATA_MANAGER_FAILED

Storage Error.

public static final CLE2ErrorCode SERVER_FAILED

Server error.

public static final CLE2ErrorCode PARTIAL_SUCCESS

Partial success.

public static final CLE2ErrorCode BUSY

Busy

public static final CLE2ErrorCode CANCELLED

Cancelled

public static final CLE2ErrorCode UNKNOWN

Unknown error code.

Method Summary

Table 2. Methods in CLE2ErrorCode
Methods

public int getValue ()

public static CLE2ErrorCode valueOf (String name)

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

public static CLE2Request.CLE2Error.CLE2ErrorCode[] values ()

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

Enumeration Details

Error codes

Enum Constant Details

public static final CLE2ErrorCode NONE

No error code.

public static final CLE2ErrorCode INVALID_PARAMETER

Invalid parameter.

public static final CLE2ErrorCode NETWORK_COMMUNICATION

Network communication.

public static final CLE2ErrorCode OPERATION_NOT_ALLOWED

Operation not allowed.

public static final CLE2ErrorCode DATA_MANAGER_FAILED

Storage Error.

public static final CLE2ErrorCode SERVER_FAILED

Server error.

public static final CLE2ErrorCode PARTIAL_SUCCESS

Partial success.

public static final CLE2ErrorCode BUSY

Busy

public static final CLE2ErrorCode CANCELLED

Cancelled

public static final CLE2ErrorCode UNKNOWN

Unknown error code.

Method Details

public int getValue ()

public static CLE2ErrorCode 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 CLE2Request.CLE2Error.CLE2ErrorCode[] values ()

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