docs: private ResultAction getFailedResultAction(Throwable cause) {
          if (currentStage == Stage.MODEL || cancelled || isRollbackOnRuntimeFailure() || isRollbackOnly()
                  || (cause != null && !(cause instanceof OperationFailedException))) {
              return ResultAction.ROLLBACK;
          }
          return ResultAction.KEEP;
      }