if (!messageReadWrite)
if (bodyReadOnly)
   public void setText(String string) throws JMSException   {      if (!messageReadWrite)         throw new MessageNotWriteableException("Cannot set the content; message is read-only");      content = string;   }