bea.jolt.pool
Class ApplicationException

java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          java.lang.RuntimeException
              bea.jolt.pool.ApplicationException
All Implemented Interfaces:
java.io.Serializable

public class ApplicationException
extends java.lang.RuntimeException

This exception is thrown when an application error occurs during a BEA Tuxedo service invocation. That is, when a BEA Tuxedo service returns with TPESVCFAIL. The Result object returned by the service invocation could contain additional application information about the error. The Result object can be accessed from this class.

Author:
Copyright (c) 1999 by BEA Systems, Inc. All Rights Reserved.
See Also:
Serialized Form

Method Summary
 int getApplicationCode()
          Gets the application code.
 Result getResult()
          Gets the Result object from the BEA Tuxedo service invocation.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getResult

public Result getResult()
Gets the Result object from the BEA Tuxedo service invocation.

Returns:
Result object from the BEA Tuxedo service invocation.

getApplicationCode

public int getApplicationCode()
Gets the application code. This is equivalent to the tpurcode returned from a BEA Tuxedo service.