IndoorRoutingError (API Reference)
Package com.here.sdk.venue.routing
Enum Class IndoorRoutingError
- All Implemented Interfaces:
Serializable,Comparable<IndoorRoutingError>,Constable
Specifies possible errors that may result from the calculation of a indoor route.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBad Gateway.Bad request.Could not match destination.Could not match origin.Forbidden.Internal server error.Venue ID not found.DefaultNo network.No route found.Resource unavailableResponse output not as expected.Service unavailable.Too many requests.Unauthorized access.Unknown error. -
Method Summary
Modifier and TypeMethodDescriptionstatic IndoorRoutingErrorReturns the enum constant of this class with the specified name.static IndoorRoutingError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_ERROR
Default
-
NO_NETWORK
No network.
-
NO_ROUTE_FOUND
No route found.
-
COULD_NOT_MATCH_ORIGIN
Could not match origin.
-
COULD_NOT_MATCH_DESTINATION
Could not match destination.
-
MAP_NOT_FOUND
Venue ID not found.
-
PARSING_ERROR
Response output not as expected.
-
UNKNOWN_ERROR
Unknown error.
-
BAD_REQUEST
Bad request.
-
UNAUTHORIZED_ACCESS
Unauthorized access.
-
FORBIDDEN
Forbidden.
-
NOT_FOUND
Resource unavailable
-
TOO_MANY_REQUESTS
Too many requests.
-
INTERNAL_SERVER_ERROR
Internal server error.
-
BAD_GATEWAY
Bad Gateway.
-
SERVICE_UNAVAILABLE
Service unavailable.
-
-
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
-