Message m = (Message)ref.get();  if (m == null)
catch (Exception e)
   public Message getMessage()   {      if (log.isTraceEnabled()) { log.trace(this + ": getting message from reference " + ref); }            if (ref == null)      {         //Been created through serialization      }            Message m = (Message)ref.get();      if (m == null)      {         m = ms.retrieve(messageID);         ref = new WeakReference(m);      }      return m;   }