bea.jolt
Class ApplicationException

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

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()
          Gets the application code, which is equivalent to the tpurcode in ATMI.
 java.lang.Object getObject()
          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
 

Method Detail

getApplicationCode

public int getApplicationCode()
Gets the application code, which is equivalent to the tpurcode in ATMI.

getObject

public java.lang.Object getObject()
Gets the object that throws the exception. 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.