Class TransactionException.UnexpectedRollback

Enclosing class:
TransactionException

public static class TransactionException.UnexpectedRollback extends TransactionException

A transaction was rolled back although its own method returned normally, because a method that joined it failed and marked it rollback-only.

Thrown rather than returning quietly, because the outer method's caller would otherwise believe its work was committed.

  • Constructor Details

    • UnexpectedRollback

      public UnexpectedRollback(String message)