Class UOWActionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UOWActionException
    extends java.lang.Exception
    This exception is thrown by UOWManager.runUnderUOW() to indicate that the action being performed threw a checked exception. The exception thrown by the action can be obtained by calling the getCause() method.
    See Also:
    UOWManager.runUnderUOW(int, boolean, UOWAction), Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      UOWActionException​(java.lang.Exception cause)
      Constructs a new UOWActionException wrapping the given Exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable getCause()
      Returns the exception thrown by UOWManager.runUnderUOW() that caused this exception to be thrown.
      • 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

      • UOWActionException

        public UOWActionException​(java.lang.Exception cause)
        Constructs a new UOWActionException wrapping the given Exception.
    • Method Detail

      • getCause

        public java.lang.Throwable getCause()
        Returns the exception thrown by UOWManager.runUnderUOW() that caused this exception to be thrown.
        Overrides:
        getCause in class java.lang.Throwable
        See Also:
        UOWManager.runUnderUOW(int, boolean, UOWAction)