_theTransaction.end(true);
}
catch (org.omg.CosTransactions.WrongTransaction wt)
{
InactiveTransactionException inactiveTransactionException = new InactiveTransactionException(
jtaLogger.loggerI18N.getString("com.arjuna.ats.internal.jta.transaction.jts.wrongstatetx"));
inactiveTransactionException.initCause(wt);
throw inactiveTransactionException;
}
catch (org.omg.CosTransactions.NoTransaction e1)
{
IllegalStateException illegalStateException = new IllegalStateException(jtaLogger.loggerI18N.getString("com.arjuna.ats.internal.jta.transaction.jts.notx"));
illegalStateException.initCause(e1);
throw illegalStateException;
}
catch (org.omg.CosTransactions.HeuristicMixed e2)
{
HeuristicMixedException heuristicMixedException = new javax.transaction.HeuristicMixedException();
heuristicMixedException.initCause(e2);
throw heuristicMixedException;
}
catch (org.omg.CosTransactions.HeuristicHazard e3)
{
HeuristicMixedException heuristicMixedException = new javax.transaction.HeuristicMixedException();
heuristicMixedException.initCause(e3);
throw heuristicMixedException;
}
catch (TRANSACTION_ROLLEDBACK e4)
{
RollbackException rollbackException = new RollbackException(e4.toString());
rollbackException.initCause(e4);
throw rollbackException;
}
catch (org.omg.CORBA.NO_PERMISSION e5)
{
throw new SecurityException(e5);
}
catch (INVALID_TRANSACTION e6)
{
InactiveTransactionException inactiveTransactionException = new InactiveTransactionException(
jtaLogger.loggerI18N.getString("com.arjuna.ats.internal.jta.transaction.jts.invalidtx2"));
inactiveTransactionException.initCause(e6);
throw inactiveTransactionException;
}
catch (org.omg.CORBA.SystemException e7)
{
javax.transaction.SystemException systemException = new javax.transaction.SystemException(e7.toString());