if (_theTransaction != null)
{
try
{
SynchronizationImple s = new SynchronizationImple(sync);
_theTransaction.registerSynchronization(s.getSynchronization());
}
catch (TRANSACTION_ROLLEDBACK e2)
{
throw new javax.transaction.RollbackException(e2.toString());
}