code: @Override
      public boolean readBoolean() throws JMSException {
          checkCanRead();
          try {
              return dataIn.readBoolean();
          } catch (EOFException e) {
              throw new MessageEOFException(e.getMessage());
          } catch (IOException e) {
              throw convertExceptionToJMSException(e);
          }
      }
docs: Reads a <code>boolean</code> from the bytes message stream.
  
  @return the <code>boolean</code> value
  @throws JMSException
  If the JMS provider fails to read the message due to some
  internal error.
  @throws MessageEOFException
  If unexpected end of bytes stream has been reached.
  @throws MessageNotReadableException
  If the message is in write-only mode.