|
||||||||||
| 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
oracle.forms.jdapi.JdapiException
The JdapiException extends the java.lang.RuntimneException class and is the supertype of all exceptions thrown by Jdapi code. In fact, most errors thrown by the API are of class JdapiException. This exception can be thrown from anywhere in the code; it does not have to be explicitly thrown or caught by a method.
Since most errors thrown by the API are of class JdapiException, users must rely on the message to get any details about the error. Users could subclass this exception to increase the differnt types of exceptions that are thrown. This class currently has two subclasses:
JdapiIllegalStateException-thrown
when calling methods on invalid forms typesJdapiUnsupportedOperationException-thrown
by forms objects that do not support a called operation
| Constructor Summary | |
JdapiException()
Creates a new JdapiException with a null message. |
|
JdapiException(java.lang.String message)
Constructor taking message as an argument. |
|
JdapiException(java.lang.Throwable t)
Constructor taking another throwable as an argument. |
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JdapiException()
public JdapiException(java.lang.String message)
message - Message describing the exception.public JdapiException(java.lang.Throwable t)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||