On-demand Rides and Deliveries Solution is currently available only to select partners. Contact sales to learn more.

LocationUpdateException

Stay organized with collections Save and categorize content based on your preferences.
public class LocationUpdateException extends Exception

Instances of LocationUpdateException are thrown when an error occurs sending vehicle location updates to the Fleet Engine backend service.

Nested Class Summary

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

Public Constructor Summary

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