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:
    UOWManager.runUnderUOW(int, boolean, UOWAction), Serialized Form
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Throwable getCause()
      Returns the UOW-specific exception that describes the nature of the completion failure.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, 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.