Reads an unsigned 16-bit number from the bytes message stream.
the next two bytes from the bytes message stream, interpreted as an unsigned 16-bit integer
| Exception Type | Condition |
|---|---|
| MessageException | if JMS fails to read the message due to some internal error. |
| MessageEOFException | if unexpected end of bytes stream has been reached. |
| MessageNotReadableException | if the message is in write-only mode. |
IBytesMessage Interface | WebLogic.Messaging Namespace