VenueErrorCode (API Reference)
Package com.here.sdk.venue.control
Enum Class VenueErrorCode
- All Implemented Interfaces:
Serializable,Comparable<VenueErrorCode>,Constable
Specifies possible errors that may occur during loading of indoor maps
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBad request.HRN missmatch.HRN not providedInternal Server errorMap data incorrectMap ID not found.Default collection missing.No map available in collectionMeta data missing error.No networkRequested resource not found.Payload too large.Service unavailableInvalid authentication token -
Method Summary
Modifier and TypeMethodDescriptionstatic VenueErrorCodeReturns the enum constant of this class with the specified name.static VenueErrorCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_NETWORK
No network
-
NO_META_DATA_FOUND
Meta data missing error.
-
HRN_MISSING
HRN not provided
-
HRN_MISMATCH
HRN missmatch.
-
NO_DEFAULT_COLLECTION
Default collection missing.
-
MAP_ID_NOT_FOUND
Map ID not found.
-
MAP_DATA_INCORRECT
Map data incorrect
-
NO_MAP_IN_COLLECTION
No map available in collection
-
BAD_REQUEST
Bad request.
-
TOKEN_INVALID
Invalid authentication token
-
NOT_FOUND
Requested resource not found.
-
INTERNAL_SERVER_ERROR
Internal Server error
-
SERVICE_UNAVAILABLE
Service unavailable
-
PAYLOAD_TOO_LARGE
Payload too large.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-