Package oracle.forms.jdapi
Class JdapiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.forms.jdapi.JdapiException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JdapiIllegalStateException
,JdapiStatusException
,JdapiUnsupportedOperationException
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
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newJdapiException
with a null message.JdapiException
(String message) Constructor taking message as an argument.Constructor taking another throwable as an argument. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JdapiException
public JdapiException()Creates a newJdapiException
with a null message. -
JdapiException
Constructor taking message as an argument.- Parameters:
message
- Message describing the exception.
-
JdapiException
Constructor taking another throwable as an argument.- Parameters:
t
- Throwable object.
-