{ log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA);
{ throw new MessagingXAException(XAException.XAER_NOTA, "Cannot find transaction with xid:" + xid);
   public Xid joinTx(Xid xid) throws XAException   {      if (trace) { log.trace("joining  " + xid); }            TxState state = getTx(xid);      if (state == null)      {         log.error("Cannot find transaction with xid:" + xid);                  throw new XAException(XAException.XAER_NOTA);      }       return xid;   }