Class UOWException

All Implemented Interfaces:
Serializable

public class UOWException extends 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 Details

    • UOWException

      public UOWException(Throwable cause)

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

      Parameters:
      cause - The UOW-specific cause
  • Method Details

    • getCause

      public Throwable getCause()

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

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