public static enum SearchResult.ERRORNO extends java.lang.Enum<SearchResult.ERRORNO>
Enum Constant and Description |
---|
INVALID_DISTRICT_ID
区域编码无效
|
KEY_ERROR
key有误
|
NETWORK_ERROR
网络错误
|
NO_ADVANCED_PERMISSION
没有高级权限
|
NO_DATA_FOR_LATLNG
经纬度所在地区无数据覆盖
|
NO_ERROR
检索结果正常返回
|
PARAMER_ERROR
请求参数错误
|
PERMISSION_UNFINISHED
授权未完成
|
REQUEST_ERROR
请求错误
|
RESULT_NOT_FOUND
没有找到检索结果
|
SEARCH_SERVER_INTERNAL_ERROR
服务器内部错误
|
Modifier and Type | Method and Description |
---|---|
static SearchResult.ERRORNO |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SearchResult.ERRORNO[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchResult.ERRORNO NO_ERROR
public static final SearchResult.ERRORNO RESULT_NOT_FOUND
public static final SearchResult.ERRORNO KEY_ERROR
public static final SearchResult.ERRORNO PERMISSION_UNFINISHED
public static final SearchResult.ERRORNO NETWORK_ERROR
public static final SearchResult.ERRORNO SEARCH_SERVER_INTERNAL_ERROR
public static final SearchResult.ERRORNO REQUEST_ERROR
public static final SearchResult.ERRORNO NO_ADVANCED_PERMISSION
public static final SearchResult.ERRORNO INVALID_DISTRICT_ID
public static final SearchResult.ERRORNO NO_DATA_FOR_LATLNG
public static final SearchResult.ERRORNO PARAMER_ERROR
public static SearchResult.ERRORNO[] values()
for (SearchResult.ERRORNO c : SearchResult.ERRORNO.values()) System.out.println(c);
public static SearchResult.ERRORNO 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