public class TripUpdateException
扩展 Exception
如果将行程更新发送到 Fleet Engine 后端服务时出错,则会抛出 TripUpdateException
实例。
嵌套类摘要
@interface | TripUpdateException.ErrorType | 指示 Fleet Engine 的位置信息更新服务报告的错误类型。 |
公共构造函数摘要
TripUpdateException(String message, Throwable reason, int errorType, boolean willKeepTrying)
|
公共方法摘要
整型 | |
布尔值 |
willKeepTrying()
指示
FleetEngine 是否会继续尝试向后端传送位置信息更新。 |
继承的方法摘要
公共构造函数
public TripUpdateException (String message, Throwable cause, int errorType, boolean willKeepTrying)
参数
信息 | |
---|---|
cause | |
errorType | |
willKeepTrying |
公共方法
public int getErrorType ()
public 布尔值 willKeepTrying ()
指示 FleetEngine
是否会继续尝试向后端传送位置信息更新。如果为 false
,Fleet Engine 将不再执行任何更新,Fleet Engine 用户将负责尝试纠正问题。