exception,
environment.getEnvironmentFactory()
);
transaction.addListener(afterTxCompletionListener, Transaction.EVENT_AFTERCOMPLETION);
log.finest("registering exception handler to "+transaction);
throw new PvmException("transaction exception handler registered handler after transaction completed. make sure this transaction is rolled back", exception);
} else {
throw new PvmException("no transaction present in the environment for transactional exception handler", exception);
}
} else {
executeHandler(execution, exception);
}
}