LOG.fatal(msg);
DL.failToDeleteTx(tx, msg);
  public void run( ) {    while (true) {      if (this.gd.isStopped()) {        break;       }      Set queue = TxQueueFinder.findByStatus("wait");      if (queue.size() > 0) {        String now = new Date().toString();        Iterator iter = queue.iterator();        while (iter.hasNext()) {          TxQueue txq = (TxQueue) iter.next();          if (txq.getClass() == TxQueueStop.class) {            try {              HibernateHelper.delete(txq);              this.gd.stopDaemon();            }            catch (HibernateException eH) {              String  msg = eH.getMessage();              LOG.fatal(msg);              break;            }          }        }      }       try {        Thread.sleep( (long) (Math.random() * 1000) );      } catch (InterruptedException e) {        // Nothing      }    }  } // public void run()