Class RollbackException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RollbackException
    extends java.lang.RuntimeException
    Exception thrown when a transaction should be rolled back.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RollbackException​(java.lang.String message)
      Constructor
      RollbackException​(java.lang.String message, java.lang.Throwable cause)
      Constructor
      RollbackException​(java.lang.Throwable cause)
      Constructor
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • RollbackException

        public RollbackException​(java.lang.Throwable cause)
        Constructor
        Parameters:
        cause - cause of exception
      • RollbackException

        public RollbackException​(java.lang.String message)
        Constructor
        Parameters:
        message - the message explaining what caused the exception.
      • RollbackException

        public RollbackException​(java.lang.String message,
                                 java.lang.Throwable cause)
        Constructor
        Parameters:
        message - the message explaining what caused the exception.
        cause - cause of exception