Reads an integer from the stream message.
The integer value read.
Exception Type | Condition |
---|---|
MsgException | Thrown when unable to read the value. |
MessageEOFException | Thrown when the end of the stream has been unexpectedly reached. |
MessageFormatException | Thrown when the type conversion is invalid. |
MessageNotReadableException | Thrown when the message is write-only. |