com.ibm.wsspi.uow
Class UOWException
- java.lang.Object
java.lang.Throwable
java.lang.Exception
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:
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 |
---|---|
|
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)
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.
Creates a new UOWException with the given UOW-specific exception as the cause.