{
SubordinateTransaction tx = SubordinationManager
.getTransactionImporter().getImportedTransaction(xid);
if (tx == null)
throw new UnexpectedConditionException();
return tx.doBeforeCompletion();
}
catch (final Exception ex)
{
UnexpectedConditionException e = new UnexpectedConditionException();
e.initCause(ex);
throw e;
}
}