diff --git a/docs/src/main/asciidoc/transaction.adoc b/docs/src/main/asciidoc/transaction.adoc index bc8561521b227..a85fcf9091dcc 100644 --- a/docs/src/main/asciidoc/transaction.adoc +++ b/docs/src/main/asciidoc/transaction.adoc @@ -189,7 +189,7 @@ public class TransactionExample { if (throwable instanceof SomeException) { return RunOptions.ExceptionResult.COMMIT; } - return RunOptions.ExceptionResult.ROLLBACK; + return TransactionExceptionResult.ROLLBACK; }) .call(() -> { //do work