public enum BikeRoutePlanError extends java.lang.Enum<BikeRoutePlanError>
Enum Constant and Description |
---|
DISTANCE_MORE_THAN
距离过远
|
FORWARD_AK_ERROR
鉴权失败
|
NET_ERR
网络错误
|
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 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