catch (Exception e)
catch (Throwable e)
      public void run()      {         try         {            int count = 0;                        while (count < numMessages)            {                                          Message m = mf.getMessage(sess, msgSize);                              if (anon)               {                  prod.send(dest, m);                           }               else               {                  prod.send(m);               }                              count++;                          if (transacted)               {                                    if (count % transactionSize == 0)                  {                     sess.commit();                  }               }                               }         }         catch (Exception e)         {            log.error("!!!!!!!!!!!!!!!!!!!!!!!!Sender failed", e);            failed = true;         }      }