IBM WebSphere Application ServerTM
Release 8

com.ibm.wsspi.uow
Class UOWException

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

public class UOWException
extends java.lang.Exception

This class provides a generic indication of failure of the completion of a unit of work (UOW) begun by a call to the runUnderUOW method on the UOWManager interface. The UOW-specific cause of the failure can be obtained via the getCause() method.

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

Constructor Summary
UOWException(java.lang.Throwable cause)
           Creates a new UOWException with the given UOW-specific exception as the cause.
 
Method Summary
 java.lang.Throwable getCause()
           Returns the UOW-specific exception that describes the nature of the completion failure.
 
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

UOWException

public UOWException(java.lang.Throwable cause)

Creates a new UOWException with the given UOW-specific exception as the cause.

Parameters:
cause - The UOW-specific cause
Method Detail

getCause

public java.lang.Throwable getCause()

Returns the UOW-specific exception that describes the nature of the completion failure.

Overrides:
getCause in class java.lang.Throwable
Returns:
The UOW-specific exception associated with the failure.

IBM WebSphere Application ServerTM
Release 8