javax.microedition.pim
Class FieldFullException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--javax.microedition.pim.FieldFullException
- public class FieldFullException
- extends java.lang.RuntimeException
Represents an exception thrown when an attempt is made to add data to a field
but the field already has all available slots for data values assigned.
- Since:
-
PIM 1.0
Constructor Summary |
FieldFullException()
Constructs a new
instance of this class with its stack trace filled in. |
FieldFullException(java.lang.String detailMessage)
Constructs a new
instance of this class with its stack trace and message filled in. |
FieldFullException(java.lang.String detailMessage,
int field)
Constructs a new
instance of this class with its stack trace, message, and offending field
filled in. |
Method Summary |
int |
getField()
Method to access
the field for which this exception is thrown. |
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 |
FieldFullException
public FieldFullException()
-
Constructs a new instance of this class with its stack trace filled in. A
default value of -1 is assigned to the Field.
FieldFullException
public FieldFullException(java.lang.String detailMessage)
-
Constructs a new instance of this class with its stack trace and message filled
in. A default value of -1 is assigned to the Field.
- Parameters:
detailMessage
- String The detail message for
the exception.
FieldFullException
public FieldFullException(java.lang.String detailMessage,
int field)
-
Constructs a new instance of this class with its stack trace, message, and
offending field filled in.
- Parameters:
detailMessage
- String The detail message for
the exception.field
- int the offending field for the exception.
getField
public int getField()
-
Method to access the field for which this exception is thrown. -1 indicates no
field value has been assigned to this exception.
-
- Returns:
- int representing the offending field.
Copyright � 2002-2004 PalmSource, Inc. All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.