|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.rim.device.api.lbs.maps.MapException
net.rim.device.api.lbs.maps.server.exchange.GeocodeException
public class GeocodeException
Represents an exception that is thrown when trying to request geocoding information.
| Field Summary | ||
|---|---|---|
static int |
AMBIGUOUS_ADDRESS
Indicates that the address results in mutiple choices. |
|
static int |
CITY_AMBIGUOUS_PLEASE_SPECIFY_STATE
Indicates that the city is considered to be ambiguous and the request must have the state or province specified. |
|
static int |
CITY_NOT_FOUND
Indicates that the city was not found. |
|
static int |
CITY_NOT_SPECIFIED
Indicates that the city was not specified and that it must be in the request. |
|
static int |
CITY_POSTAL_CODE_MISMATCH
Indicates that the postal code matches the country and state, but a mismatch occured with the postal code for the city. |
|
static int |
CITY_STATE_MISMATCH
Indicates that the city did not match the state. |
|
static int |
INVALID_ADDRESS_NUMBER
Indicates that the address number is invalid because it was a negative number, or was more than 6 digits, or the number was unrecognizable. |
|
static int |
INVALID_COUNTRY
Indicates that the submitted country is invalid. |
|
static int |
INVALID_POSTAL_CODE
Indicates that the postal code is invalid. |
|
static int |
INVALID_REQUEST
Indicates an invalid request (for example, the user's PIN is blocked). |
|
static int |
INVALID_STATE
Indicates that the submitted state or province is invalid. |
|
static int |
INVALID_STATE_AND_COUNTRY
Indicates that both the submitted state/province and country are invalid. |
|
static int |
ITEM_NOT_FOUND
Indicates that the item cannot be found, which can include the city, street, or address. |
|
static int |
MALFORMED_INTERSECTION_ADDRESS
Indicates that the request failed because the intersection address was malformed. |
|
static int |
STATE_POSTAL_CODE_MISMATCH
Indicates that the postal code matches the country but it doesn't match the state. |
|
static int |
TOO_MANY_ITEMS
Indicates that the geocoding server received too many returned items from the query so that it could not effectively perform a sort to retrieve the first twenty items. |
|
static int |
UNSUPPORTED_ADDRESS_TYPE
Indicates that only numeric address types are supported. |
|
static int |
UNSUPPORTED_CHARACTER
Indicates that the request contained unsupported characters, including any wildcards in the search request. |
|
| Method Summary |
|---|
| Methods inherited from class net.rim.device.api.lbs.maps.MapException |
|---|
getErrorCode |
| Methods inherited from class java.lang.Throwable |
|---|
getMessage, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int INVALID_REQUEST
public static final int UNSUPPORTED_ADDRESS_TYPE
public static final int INVALID_ADDRESS_NUMBER
public static final int ITEM_NOT_FOUND
public static final int TOO_MANY_ITEMS
public static final int UNSUPPORTED_CHARACTER
public static final int INVALID_STATE
public static final int INVALID_COUNTRY
public static final int INVALID_STATE_AND_COUNTRY
public static final int CITY_NOT_FOUND
public static final int CITY_STATE_MISMATCH
public static final int CITY_AMBIGUOUS_PLEASE_SPECIFY_STATE
public static final int MALFORMED_INTERSECTION_ADDRESS
public static final int CITY_NOT_SPECIFIED
public static final int INVALID_POSTAL_CODE
public static final int CITY_POSTAL_CODE_MISMATCH
public static final int STATE_POSTAL_CODE_MISMATCH
public static final int AMBIGUOUS_ADDRESS
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal