} catch (final IllegalStateException ex) {
// remove the imported tx
SubordinationManager.getTransactionImporter().removeImportedTransaction(xid);
XAException xaException = new XAException(XAException.XAER_NOTA);
xaException.initCause(ex);
throw xaException;
} catch (SystemException ex) {
// remove the imported tx
SubordinationManager.getTransactionImporter().removeImportedTransaction(xid);