net.rim.blackberry.api.pdap
Class BlackBerryPIMRemovalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.microedition.pim.PIMException
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 |
|
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. |
|
static int |
CONTACTLIST_NOT_EMPTY
Indicates that the contact list was not removed because the list contains contacts. |
|
static int |
CONTACTLIST_NOT_EXIST
Indicates that the contact list was not removed because the list does not exist. |
|
static int |
INVALID_NAME
Indicates that the contact list was not removed because the supplied name failed to retrieve a contact list. |
|
static int |
INVALID_UID
Indicates that the contact list was not removed because the supplied UID failed to retrieve a contact list. |
|
static int |
LAST_CONTACTLIST
Indicates that the contact list was not removed because the list is the only one on the device. |
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
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