public class
VehicleUpdateException
extends Exception
Instances of VehicleUpdateException
are thrown when an error occurs sending vehicle
updates to the Fleet Engine backend service.
Nested Class Summary
@interface | VehicleUpdateException.ErrorType | Indicates the type of error being reported by the Fleet Engine's location update service. |
Public Constructor Summary
VehicleUpdateException(String message, Throwable cause, int errorType, boolean willKeepTrying)
|
Public Method Summary
int | |
boolean |
willKeepTrying()
Indicates whether the
FleetEngine will continue trying to deliver location updates to
the backend. |
Inherited Method Summary
Public Constructors
public VehicleUpdateException (String message, Throwable cause, int errorType, boolean willKeepTrying)
Parameters
message | |
---|---|
cause | |
errorType | |
willKeepTrying |
Public Methods
public int getErrorType ()
public boolean willKeepTrying ()
Indicates whether the FleetEngine
will continue trying to deliver location updates to
the backend. If false
, the Fleet Engine will not perform any more update and it will be
up to the Fleet Engine user to try and rectify the issue.