All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class bea.jolt.ApplicationException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.lang.RuntimeException
                           |
                           +----bea.jolt.ApplicationException

public class ApplicationException
extends 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) (TPFAIL, tpurcode, ...).


Method Index

 o getApplicationCode()
The getApplicationCode method gets the application code.
 o getObject()
The getObject method gets the object that throws the exception.

Methods

 o getApplicationCode
 public int getApplicationCode()
The getApplicationCode method gets the application code. This is equivalent to the tpurcode in ATMI.

 o getObject
 public 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.


All Packages  Class Hierarchy  This Package  Previous  Next  Index