throw new IllegalStateException(e);
throw new RuntimeException(e);
   protected static void postDeliver(SessionDelegate sess, String receiverID, Message m, boolean isConnectionConsumer)   {      try      {         //If this is the callback-handler for a connection consumer we don't want         //to acknowledge or add anything to the tx for this session         if (!isConnectionConsumer)         {            sess.postDeliver(m.getJMSMessageID(), receiverID);         }      }      catch (JMSException e)      {         final String msg = "Failed to get message id";         log.error(msg, e);         //Not much we can do here         throw new IllegalStateException(e);      }         }