readUTF

 

public String readUTF() throws JMSException;

Reads a string that has been encoded using a modified UTF-8 format from the bytes message.

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

Returns

  • a Unicode string from the bytes message.

Exceptions

  • JMSException - with reasons

    • MQJMS_EXCEPTION_MESSAGE_NOT_READABLE

    • MQJMS_EXCEPTION_MESSAGE_EOF

    • MQJMS_EXCEPTION_MESSAGE_FORMAT

  • IOException - if an I/O error has occurred.


uj25970_