com.ibm.wsspi.uow

Class UOWException

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

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

Constructor and Description
UOWException(java.lang.Throwable cause)
Creates a new UOWException with the given UOW-specific exception as the cause.

Method Summary

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

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

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