readString

 

public String readString() throws JMSException;

Reads in a String from the stream message.

Returns

  • a Unicode string from the stream message.

Exceptions

  • JMSException - if JMS fails to read the message due to an internal JMS error.

  • MessageEOFException - if an end of message stream.

  • MessageFormatException - if this type conversion is not valid.

  • MessageNotReadableException - if the message is in write-only mode.


uj27070_