net.rim.blackberry.api.pdap
Class BlackBerryPIMRemovalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.microedition.pim.PIMException
              extended by net.rim.blackberry.api.pdap.BlackBerryPIMRemovalException

public class BlackBerryPIMRemovalException
extends PIMException

Thrown when an error occurs during removal of a PIMList. See BlackBerryPIM.removePIMList().

See Also:
PIMException
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0

Field Summary
Category: Signed static int CONTACTLIST_BELONGED_TO_SYSTEM
          Indicates that the contact list was not removed because the contact list is owned by the system, that is, the contact list has a service record or is the default contact list.
Category: Signed static int CONTACTLIST_NOT_EMPTY
          Indicates that the contact list was not removed because the list contains contacts.
Category: Signed static int CONTACTLIST_NOT_EXIST
          Indicates that the contact list was not removed because the list does not exist.
Category: Signed static int INVALID_NAME
          Indicates that the contact list was not removed because the supplied name failed to retrieve a contact list.
Category: Signed static int INVALID_UID
          Indicates that the contact list was not removed because the supplied UID failed to retrieve a contact list.
Category: Signed static int LAST_CONTACTLIST
          Indicates that the contact list was not removed because the list is the only one on the device.
 
Fields inherited from class javax.microedition.pim.PIMException
FEATURE_NOT_SUPPORTED, GENERAL_ERROR, LIST_CLOSED, LIST_NOT_ACCESSIBLE, MAX_CATEGORIES_EXCEEDED, UNSUPPORTED_VERSION, UPDATE_ERROR
 
Constructor Summary
Category: Signed BlackBerryPIMRemovalException()
          Constructs a new instance of this class with its stack trace filled in.
Category: Signed BlackBerryPIMRemovalException(String detailMessage)
          Constructs a new instance of this class with its stack trace and message filled in.
Category: Signed BlackBerryPIMRemovalException(String detailMessage, int reason)
          Constructs a new instance of this class with its stack trace, message, and reason filled in.
 
Method Summary
 
Methods inherited from class javax.microedition.pim.PIMException
getReason
 
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

LAST_CONTACTLIST

public static final int LAST_CONTACTLIST
Indicates that the contact list was not removed because the list is the only one on the device.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0

CONTACTLIST_NOT_EXIST

public static final int CONTACTLIST_NOT_EXIST
Indicates that the contact list was not removed because the list does not exist.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0

CONTACTLIST_NOT_EMPTY

public static final int CONTACTLIST_NOT_EMPTY
Indicates that the contact list was not removed because the list contains contacts.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0

INVALID_NAME

public static final int INVALID_NAME
Indicates that the contact list was not removed because the supplied name failed to retrieve a contact list.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0

INVALID_UID

public static final int INVALID_UID
Indicates that the contact list was not removed because the supplied UID failed to retrieve a contact list.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0

CONTACTLIST_BELONGED_TO_SYSTEM

public static final int CONTACTLIST_BELONGED_TO_SYSTEM
Indicates that the contact list was not removed because the contact list is owned by the system, that is, the contact list has a service record or is the default contact list.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0


Constructor Detail

BlackBerryPIMRemovalException

public BlackBerryPIMRemovalException()
Constructs a new instance of this class with its stack trace filled in. The reason code is set to the default value PIMException.GENERAL_ERROR.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0

BlackBerryPIMRemovalException

public BlackBerryPIMRemovalException(String detailMessage)
Constructs a new instance of this class with its stack trace and message filled in. The reason code is set to the default value PIMException.GENERAL_ERROR.

Parameters:
detailMessage - The detail message for the exception.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0

BlackBerryPIMRemovalException

public BlackBerryPIMRemovalException(String detailMessage,
                                     int reason)
Constructs a new instance of this class with its stack trace, message, and reason filled in.

Parameters:
detailMessage - The detail message for the exception.
reason - The reason for the exception; should be one of the integer constants defined in this class; this value will be returned from PIMException.getReason().
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.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