Package oracle.forms.jdapi
Class JdapiStatusException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.forms.jdapi.JdapiException
oracle.forms.jdapi.JdapiStatusException
- All Implemented Interfaces:
Serializable
Subclass of JdapiException that incorporates the status code for the error
as returned by the forms stack.
The status codes are included as members of JdapiTypes, ending in _STID.
Do not program against the numbers themselves
(eg.
but use the members
(eg.
(eg.
if(status == 1)
... )but use the members
(eg.
if(status == JdapiTypes.FAIL_STID)
...).- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJdapiStatusException
(String message, int statusCode) Constructor taking message and status code 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
-
JdapiStatusException
Constructor taking message and status code as an argument.- Parameters:
message
- Message describing the exception.statusCode
- the status code associated with the exception.
-
-
Method Details
-
getStatusCode
public int getStatusCode()Returns the status code of this exception.
-