nevado-jms/src/main/java/org/skyscreamer/nevado/jms/message/NevadoBytesMessage.java
/**
     * Reads a string that has been encoded using a modified UTF-8 format from the bytes message stream.
     * <P>
     * For more information on the UTF-8 format, see "File System Safe UCS Transformation Format (FSS_UTF)", X/Open
     * Preliminary Specification, X/Open Company Ltd., Document Number: P316. This information also appears in ISO/IEC
     * 10646, Annex P.
     *
     * @return a Unicode string from the bytes message stream
     * @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 string that has been encoded using a modified UTF-8 format from the bytes message stream.

For more information on the UTF-8 format, see "File System Safe UCS Transformation Format (FSS_UTF)", X/Open
Preliminary Specification, X/Open Company Ltd., Document Number: P316. This information also appears in ISO/IEC
10646, Annex P.

@return a Unicode string from the bytes message stream
@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 string that has been encoded using a modified UTF - 8 format from the bytes message stream . For more information on the UTF - 8 format see " File System Safe UCS Transformation Format ( FSS_UTF ) " X / Open Preliminary Specification X / Open Company Ltd . Document Number : P316 . This information also appears in ISO / IEC 10646 Annex P . @return a Unicode string from the bytes message stream @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 String readUTF() throws JMSException {
        initializeReading();
        try {
            return this.dataIn.readUTF();
        }
        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 String readUTF ( ) throws JMSException { initializeReading ( ) ; try { return this . dataIn . readUTF ( ) ; } 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 string that has been encoded using a modified UTF-8 format from the bytes message stream.
Reads a string that has been encoded using a modified UTF - 8 format from the bytes message stream .