|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.microedition.pim.UnsupportedFieldException
public class UnsupportedFieldException
Represents an exception thrown when a field is referenced that is not supported in the particular PIM list that an element belongs to.
Constructor Summary | ||
---|---|---|
UnsupportedFieldException()
Constructs a new instance of this class with its stack trace filled in. |
||
UnsupportedFieldException(String detailMessage)
Constructs a new instance of this class with its stack trace and message filled in. |
||
UnsupportedFieldException(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()
Returns an integer representing the field that caused the 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 |
Constructor Detail |
---|
public UnsupportedFieldException()
-1
is assigned to the field.
public UnsupportedFieldException(String detailMessage)
-1
is assigned to the field.
detailMessage
- String The detail message for the exception.public UnsupportedFieldException(String detailMessage, int field)
detailMessage
- String The detail message for the exception.field
- the offending field for the exception; this value will be
returned from UnsupportedFieldException.getField()
.Method Detail |
---|
public int getField()
-1
is
returned.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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