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

VehicleUpdateException.ErrorType

Stay organized with collections Save and categorize content based on your preferences.
public static abstract @interface VehicleUpdateException.ErrorType implements Annotation

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

Constant Summary

int AUTH_FACTORY_EXCEPTION The FleetEngine.AuthTokenFactory threw an exception.
int BACKEND_CONNECTIVITY_ERROR There was a connectivity issue while communicating with the backend service.
int NOT_FOUND The identifier of the vehicle is not known to the Fleet Engine backend service.
int UNKNOWN Any other kind of exception, usually indicating a bug in the client software.

Inherited Method Summary

Constants

public static final int AUTH_FACTORY_EXCEPTION

The FleetEngine.AuthTokenFactory threw an exception. The underlying cause may be obtained with getCause().

Constant Value: 0

public static final int BACKEND_CONNECTIVITY_ERROR

There was a connectivity issue while communicating with the backend service. The getCause() method will return a ERROR(/io.grpc.StatusRuntimeException) indicating the underlying connectivity issue.

Constant Value: 2

public static final int NOT_FOUND

The identifier of the vehicle is not known to the Fleet Engine backend service.

Constant Value: 1

public static final int UNKNOWN

Any other kind of exception, usually indicating a bug in the client software. The exception that occurred will be available in getCause(). In this case, willKeepTrying() will be false.

Constant Value: 3