WebLogic Messaging API Class Library

IBytesMessage.ReadUTF Method 

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.

string ReadUTF();

Return Value

a Unicode string from the bytes message stream

Exceptions

Exception TypeCondition
MessageExceptionif JMS fails to read the message due to some internal error.
MessageEOFExceptionif unexpected end of bytes stream has been reached.
MessageNotReadableExceptionif the message is in write-only mode.

See Also

IBytesMessage Interface | WebLogic.Messaging Namespace