readShort
public short readShort() throws JMSException;
Reads a 16-bit integer from the stream message.
- Returns
- a 16-bit integer 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.
uj27060_