|
PIM Optional Package 1.0 Final Release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--javax.microedition.pim.PIMException
Represents exceptions thrown by the PIM classes. This class has a reason code optionally associated with it to provide more information about the PIM exception that occurred.
| Field Summary | |
static int |
FEATURE_NOT_SUPPORTED
Indicates a PIM exception where the functionality is not supported in this implementation. |
static int |
GENERAL_ERROR
Indicates a general PIM exception error. |
static int |
LIST_CLOSED
Indicates a PIM exception where a list is closed and access is attempted. |
static int |
LIST_NOT_ACCESSIBLE
Indicates a PIM exception where a list is no longer accessible by the application, such as if the underlying PIM database is deleted. |
static int |
MAX_CATEGORIES_EXCEEDED
Indicates the max number of categories is exceeded. |
static int |
UNSUPPORTED_VERSION
Indicates the data is in an unsupported PIM version. |
static int |
UPDATE_ERROR
Indicates a PIM exception where the update could not continue. |
| Constructor Summary | |
PIMException()
Constructs a new instance of this class with its stack trace filled in. |
|
PIMException(java.lang.String detailMessage)
Constructs a new instance of this class with its stacktrace and message filled in. |
|
PIMException(java.lang.String detailMessage,
int reason)
Constructs a new instance of this class with its stacktrace, message, and reason filled in. |
|
| Method Summary | |
int |
getReason()
Returns the reason for the PIM Exception. |
| 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 FEATURE_NOT_SUPPORTED
public static final int GENERAL_ERROR
public static final int LIST_CLOSED
public static final int LIST_NOT_ACCESSIBLE
public static final int MAX_CATEGORIES_EXCEEDED
public static final int UNSUPPORTED_VERSION
public static final int UPDATE_ERROR
| Constructor Detail |
public PIMException()
GENERAL_ERROR.
public PIMException(java.lang.String detailMessage)
GENERAL_ERROR.
detailMessage - String The detail message for
the exception.
public PIMException(java.lang.String detailMessage,
int reason)
detailMessage - String The detail message for
the exception.reason - int Integer representing the reason for the
exception.| Method Detail |
public int getReason()
|
Final Release Rev. 1.00 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||