public enum BikeRoutePlanError extends java.lang.Enum<BikeRoutePlanError>
Enum Constant and Description |
---|
DISTANCE_LESS_THAN_30M
距离太近
|
DISTANCE_MORE_THAN
距离过远
|
DISTANCE_MORE_THAN_300KM
距离太远
|
DISTANCE_TOO_CLOSE
距离过近
|
ENGINE_STATUS_ERROR
引擎状态错误
|
FORWARD_AK_ERROR
鉴权失败
|
NAVI_STATUS_ERROR
导航状态错误
|
NET_ERR
网络错误
|
PARAM_ERROR
参数错误
|
PARSE_FAIL
解析失败
|
SERVER_UNUSUAL
服务器异常
|
Modifier and Type | Method and Description |
---|---|
static BikeRoutePlanError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BikeRoutePlanError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BikeRoutePlanError SERVER_UNUSUAL
public static final BikeRoutePlanError PARSE_FAIL
public static final BikeRoutePlanError NET_ERR
public static final BikeRoutePlanError FORWARD_AK_ERROR
public static final BikeRoutePlanError DISTANCE_MORE_THAN
public static final BikeRoutePlanError DISTANCE_TOO_CLOSE
public static final BikeRoutePlanError DISTANCE_LESS_THAN_30M
public static final BikeRoutePlanError DISTANCE_MORE_THAN_300KM
public static final BikeRoutePlanError PARAM_ERROR
public static final BikeRoutePlanError ENGINE_STATUS_ERROR
public static final BikeRoutePlanError NAVI_STATUS_ERROR
public static BikeRoutePlanError[] values()
for (BikeRoutePlanError c : BikeRoutePlanError.values()) System.out.println(c);
public static BikeRoutePlanError valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null