oracle.forms.jdapi
Class JdapiException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--oracle.forms.jdapi.JdapiException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- JdapiIllegalStateException, JdapiStatusException, JdapiUnsupportedOperationException
- public class JdapiException
- extends java.lang.RuntimeException
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:
- See Also:
- Serialized Form
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, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JdapiException
public JdapiException()
- Creates a new JdapiException with a null message.
JdapiException
public JdapiException(java.lang.String message)
- Constructor taking message as an argument.
- Parameters:
message
- Message describing the exception.
JdapiException
public JdapiException(java.lang.Throwable t)
- Constructor taking another throwable as an argument.
- Parameters:
Throwable
- object.