readUnsignedShort

 

public int readUnsignedShort() throws JMSException;

Reads an unsigned 16-bit number from the bytes message.

Returns

  • the next two bytes from the bytes message, interpreted as an unsigned 16-bit integer.

Exceptions

  • JMSException - with reasons

    • MQJMS_EXCEPTION_MESSAGE_NOT_READABLE

    • MQJMS_EXCEPTION_MESSAGE_EOF

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


uj25960_