VehicleUpdateException.ErrorType

public static abstract @interface VehicleUpdateException.ErrorType 实现 Annotation

指示 Fleet Engine 的位置更新服务报告的错误类型。

常量摘要

int AUTH_FACTORY_EXCEPTION FleetEngine.AuthTokenFactory 抛出异常。
int BACKEND_CONNECTIVITY_ERROR 与后端服务通信时发生连接问题。
int NOT_FOUND Fleet Engine 后端服务不知道车辆的标识符。
int 未知 任何其他类型的异常,通常表示客户端软件中存在错误。

继承的方法摘要

常量

public static final int AUTH_FACTORY_EXCEPTION

FleetEngine.AuthTokenFactory 抛出异常。您可以通过 getCause() 获取根本原因。

常量值: 0

public static final int BACKEND_CONNECTIVITY_ERROR

与后端服务通信时发生连接问题。getCause() 方法将返回 ERROR(/io.grpc.StatusRuntimeException),表明存在底层连接问题。

常量值: 2

public static final int NOT_FOUND

Fleet Engine 后端服务不知道车辆的标识符。

常量值: 1

public static final int UNKNOWN

任何其他类型的异常,通常表示客户端软件中存在错误。将在 getCause() 中找到发生的异常。在本例中,willKeepTrying() 将为 false

常量值: 3