net.rim.device.api.lbs.travel
Class TravelTimeRouteException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.rim.device.api.lbs.travel.TravelTimeException
              extended by net.rim.device.api.lbs.travel.TravelTimeRouteException

public class TravelTimeRouteException
extends TravelTimeException

Represents an exception when trying to retrieve a route between the specified starting and ending points.

Since:
BlackBerry API 6.0.0

Field Summary
 
Fields inherited from class net.rim.device.api.lbs.travel.TravelTimeException
NO_HTTP_CODE, REQUEST_COMMUNICATION, REQUEST_COURSE_INVALID, REQUEST_LAT_LON_INVALID, REQUEST_MAX_PENDING_EXCEEDED, REQUEST_MISSING_DATA, REQUEST_SPEED_INVALID, REQUEST_START_TIME_INVALID, ROUTING_GENERAL, ROUTING_LAT_LON, ROUTING_ROUTE_EXCEEDS_MAX, ROUTING_ROUTE_NOT_FOUND, ROUTING_SERVICE, UNSPECIFIED
 
Constructor Summary
TravelTimeRouteException(int errorCode, String message)
          Constructs the exception object based on the specified routing error code and message.
 
Method Summary
 
Methods inherited from class net.rim.device.api.lbs.travel.TravelTimeException
getErrorCode, getHttpCode
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 



Constructor Detail

TravelTimeRouteException

public TravelTimeRouteException(int errorCode,
                                String message)
Constructs the exception object based on the specified routing error code and message.

Parameters:
errorCode - One of the routing error codes defined by this class.
message - A message describing the problem.
Since:
BlackBerry API 6.0.0





Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.