com.ibm.wsspi.uow

Class UOWActionException

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended bycom.ibm.wsspi.uow.UOWActionException
All implemented interfaces:
java.io.Serializable

  1. public class UOWActionException
  2. 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

Constructor and Description
UOWActionException(java.lang.Exception cause)
Constructs a new UOWActionException wrapping the given Exception.

Method Summary

Modifier and Type Method and Description
  1. 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

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

Method Detail

getCause

  1. 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: