Class RollbackException

  • All Implemented Interfaces:
    java.io.Serializable, ExceptionInfo

    public class RollbackException
    extends jakarta.persistence.RollbackException
    implements java.io.Serializable, ExceptionInfo
    Rollback occurred on attempt to commit.
    Since:
    0.4.0
    Author:
    Abe White
    See Also:
    Serialized Form
    • Constructor Detail

      • RollbackException

        public RollbackException​(java.lang.Exception e)
    • Method Detail

      • isFatal

        public boolean isFatal()
        Description copied from interface: ExceptionInfo
        Whether this error is fatal.
        Specified by:
        isFatal in interface ExceptionInfo
      • getCause

        public java.lang.Throwable getCause()
        Description copied from interface: ExceptionInfo
        Returns the first Throwable from ExceptionInfo.getNestedThrowables() in order to conform to Throwable.getCause() in Java 1.4+.
        Specified by:
        getCause in interface ExceptionInfo
        Overrides:
        getCause in class java.lang.Throwable
        See Also:
        Throwable.getCause()
      • setFailedObject

        public RollbackException setFailedObject​(java.lang.Object failed)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace()
        Description copied from interface: ExceptionInfo
        Stack.
        Specified by:
        printStackTrace in interface ExceptionInfo
        Overrides:
        printStackTrace in class java.lang.Throwable
        See Also:
        Throwable.printStackTrace()
      • printStackTrace

        public void printStackTrace​(java.io.PrintStream out)
        Overrides:
        printStackTrace in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace​(java.io.PrintWriter out)
        Overrides:
        printStackTrace in class java.lang.Throwable