TripUpdateException

public class TripUpdateException extends Exception

Instances of TripUpdateException are thrown when an error occurs sending trip updates to the Fleet Engine backend service.

Nested Class Summary

@interface TripUpdateException.ErrorType Indicates the type of error being reported by the Fleet Engine's location update service. 

Public Constructor Summary

TripUpdateException(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 TripUpdateException (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.