Nokia Maps API Reference

Contents

Interface nokia.maps.routing.ServiceError

Interface Summary

This interface represents a routing service error.

Field Summary
String message This property contains the error message with textual explanation of the error.
String subtype This property holds a subtype of the service error.
String type This property holds the service error type.
Field Detail
String message
This property contains the error message with textual explanation of the error.
String subtype
This property holds a subtype of the service error. The possible values are:
  • "invalidInputData" - indicates that the request contains invalid input data (wrong format, contradictory input, etc.)
  • "contractViolate" - indicates that the contract exists for the given token, but is not yet active or has already expired
  • "permissionError" - indicates that the access permission for the given token has been denied by the service
  • "exceededUsageLimit" - indicates that the usage limit as given in the user's contract associated with the given token has been reached
  • "invalidCredentials" - indicates that the specified token was invalid or no contract could be found for this token
  • "insufficientRights" - indicates that the user's contract exists for the given token, but a required entitlement is missing
  • "networkAccessDenied" - indicates that network access to the requested resource has been denied
  • "serviceNotAvailable" - indicates that the service is not available (server down, resource not found, etc.)
  • "timeout" - indicates that a timeout occurred
  • "noRouteFound" - indicates that no route could be constructed based on the input parameter(s)
  • "waypointNotFound" - indicates that one of the requested way points (start/end or a via point) could not be found in the routing network
  • "linkIdNotFound" - indicates that a link id passed as input parameter could not be found in the underlying map data
  • "invalidRouteId" - indicates that the route could not be reconstructed based on the given route id
  • "positionOffRoute" - indicates that the specified position is too far away from the route; a position is considered to be off the route if it lies 500m or more away from it
String type
This property holds the service error type. The possible values are:
  • "applicationError" - indicates an error, which was thrown because the business logic has detected some error
  • "systemError" - indicates an error, which was thrown due to technical reasons
  • "permissionError" - indicates an error, which was thrown due to invalid credentials or missing entitlements
Documentation generated on Wed Jun 27 2012 16:54:08 GMT+0200 (CEST).