nevado-jms/src/main/java/org/skyscreamer/nevado/jms/message/NevadoBytesMessage.java
/**
     * Reads a <code>boolean</code> from the bytes message stream.
     *
     * @return the <code>boolean</code> value read
     * @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.
     */
Reads a boolean from the bytes message stream.
@return the boolean value read
@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.
Reads a boolean from the bytes message stream . @return the boolean value read @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 .
public boolean readBoolean() throws JMSException {
        initializeReading();
        try {
            return this.dataIn.readBoolean();
        }
        catch (EOFException eof) {
            JMSException jmsEx = new MessageEOFException(eof.getMessage());
            jmsEx.setLinkedException(eof);
            throw jmsEx;
        }
        catch (IOException ioe) {
            JMSException jmsEx = new JMSException("Format error occured" + ioe.getMessage());
            jmsEx.setLinkedException(ioe);
            throw jmsEx;
        }
    }
public boolean readBoolean ( ) throws JMSException { initializeReading ( ) ; try { return this . dataIn . readBoolean ( ) ; } catch ( EOFException eof ) { JMSException jmsEx = new MessageEOFException ( eof . getMessage ( ) ) ; jmsEx . setLinkedException ( eof ) ; throw jmsEx ; } catch ( IOException ioe ) { JMSException jmsEx = new JMSException ( "Format error occured" + ioe . getMessage ( ) ) ; jmsEx . setLinkedException ( ioe ) ; throw jmsEx ; } }
Reads a <code>boolean</code> from the bytes message stream.
Reads a <code > boolean< / code > from the bytes message stream .