IBM WebSphere Application ServerTM
Release 8

com.ibm.wsspi.uow
Class UOWActionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.wsspi.uow.UOWActionException
All Implemented Interfaces:
java.io.Serializable

public class UOWActionException
extends java.lang.Exception

This exception is thrown by UOWManager.runUnderUOW() to indicate that the action being performed threw a checked exception. The exception thrown by the action can be obtained by calling the getCause() method.

See Also:
UOWManager.runUnderUOW(int, boolean, UOWAction), Serialized Form

Constructor Summary
UOWActionException(java.lang.Exception cause)
          Constructs a new UOWActionException wrapping the given Exception.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the exception thrown by UOWManager.runUnderUOW() that caused this exception to be thrown.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UOWActionException

public UOWActionException(java.lang.Exception cause)
Constructs a new UOWActionException wrapping the given Exception.

Method Detail

getCause

public java.lang.Throwable getCause()
Returns the exception thrown by UOWManager.runUnderUOW() that caused this exception to be thrown.

Overrides:
getCause in class java.lang.Throwable
See Also:
UOWManager.runUnderUOW(int, boolean, UOWAction)

IBM WebSphere Application ServerTM
Release 8