Class RollbackException

All Implemented Interfaces:
Serializable

public class RollbackException extends PermanentPersistException
This exception is thrown when trying to commit a transaction that was set rollback-only.

If this gets thrown then there is a code logic problem that should be fixed.

See Also:
  • Constructor Details

    • RollbackException

      public RollbackException()
    • RollbackException

      public RollbackException(Throwable cause)
    • RollbackException

      public RollbackException(String message)
  • Method Details

    • getRollbackError

      @Nullable public @Nullable Throwable getRollbackError()
    • setRollbackError

      public void setRollbackError(Throwable rollbackError)