{
checkTransactionState();
}
catch (IllegalStateException e1)
{
NotSupportedException notSupportedException = new NotSupportedException(e1.getMessage());
notSupportedException.initCause(e1);
throw notSupportedException;
}
catch (org.omg.CORBA.SystemException e2)
{
javax.transaction.SystemException systemException = new javax.transaction.SystemException(e2.toString());
systemException.initCause(e2);
throw systemException;
}
}
try
{
TransactionImple.putTransaction(new TransactionImple());
}
catch (org.omg.CosTransactions.SubtransactionsUnavailable e3)
{
// shouldn't happen if we get here from the previous checks!
NotSupportedException notSupportedException = new NotSupportedException(e3.getMessage());
notSupportedException.initCause(e3);
throw notSupportedException;
}
catch (org.omg.CORBA.SystemException e4)
{
javax.transaction.SystemException systemException = new javax.transaction.SystemException(e4.toString());