bea.jolt
Class ApplicationException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--bea.jolt.ApplicationException
- All Implemented Interfaces:
- java.io.Serializable
- public class ApplicationException
- extends java.lang.RuntimeException
The ApplicationException class is used by the JoltRemoteService class
and its methods. The ApplicationException is thrown only when the service
calls a tpreturn(3) (for example, TPFAIL, tpurcode).
- See Also:
- Serialized Form
|
Method Summary |
int |
getApplicationCode()
The getApplicationCode method gets the application code. |
java.lang.Object |
getObject()
The getObject method gets the object that throws the exception. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getApplicationCode
public int getApplicationCode()
- The getApplicationCode method gets the application code. This
is equivalent to the tpurcode in ATMI.
getObject
public java.lang.Object getObject()
- The getObject method gets the object that throws the exception.
In Jolt 1.2, the object retrieved by getObject is an instance of
the JoltRemoteService class. The caller can still use this object
to retrieve all the output parameters. See getStringDef() or
similar methods in the JoltRemoteService class.