net.rim.device.api.lbs.maps.server.exchange
Class GeocodeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.rim.device.api.lbs.maps.MapException
              extended by net.rim.device.api.lbs.maps.server.exchange.GeocodeException

public class GeocodeException
extends MapException

Represents an exception that is thrown when trying to request geocoding information.

Since:
BlackBerry API 7.0.0

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

INVALID_REQUEST

public static final int INVALID_REQUEST
Indicates an invalid request (for example, the user's PIN is blocked).

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

UNSUPPORTED_ADDRESS_TYPE

public static final int UNSUPPORTED_ADDRESS_TYPE
Indicates that only numeric address types are supported. For example, "115/32 Main St." is unsupported.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

INVALID_ADDRESS_NUMBER

public static final 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.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

ITEM_NOT_FOUND

public static final int ITEM_NOT_FOUND
Indicates that the item cannot be found, which can include the city, street, or address.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

TOO_MANY_ITEMS

public static final 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.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

UNSUPPORTED_CHARACTER

public static final int UNSUPPORTED_CHARACTER
Indicates that the request contained unsupported characters, including any wildcards in the search request.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

INVALID_STATE

public static final int INVALID_STATE
Indicates that the submitted state or province is invalid.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

INVALID_COUNTRY

public static final int INVALID_COUNTRY
Indicates that the submitted country is invalid.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

INVALID_STATE_AND_COUNTRY

public static final int INVALID_STATE_AND_COUNTRY
Indicates that both the submitted state/province and country are invalid.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

CITY_NOT_FOUND

public static final int CITY_NOT_FOUND
Indicates that the city was not found.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

CITY_STATE_MISMATCH

public static final int CITY_STATE_MISMATCH
Indicates that the city did not match the state.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

CITY_AMBIGUOUS_PLEASE_SPECIFY_STATE

public static final 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.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

MALFORMED_INTERSECTION_ADDRESS

public static final int MALFORMED_INTERSECTION_ADDRESS
Indicates that the request failed because the intersection address was malformed.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

CITY_NOT_SPECIFIED

public static final int CITY_NOT_SPECIFIED
Indicates that the city was not specified and that it must be in the request.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

INVALID_POSTAL_CODE

public static final int INVALID_POSTAL_CODE
Indicates that the postal code is invalid.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

CITY_POSTAL_CODE_MISMATCH

public static final 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.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

STATE_POSTAL_CODE_MISMATCH

public static final int STATE_POSTAL_CODE_MISMATCH
Indicates that the postal code matches the country but it doesn't match the state.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

AMBIGUOUS_ADDRESS

public static final int AMBIGUOUS_ADDRESS
Indicates that the address results in mutiple choices. This is only applicable for batch geocoding requests.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0





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