# Uses of Class
org.apache.synapse.format.syslog.ProtocolException

Packages that use ProtocolException
Package
Description
org.apache.synapse.format.syslog
Implementation of the BSD syslog protocol described in RFC 3164.

- ## Uses of ProtocolException in org.apache.synapse.format.syslog

  Methods in org.apache.synapse.format.syslog that throw ProtocolException
  Modifier and Type
  Method
  Description
  `void`
  InputStreamConsumer.`consume(int expected)`
  Check the value of the next byte in the stream and consume it.
  `void`
  InputStreamConsumer.`expect(int expected)`
  Check the value of the next byte in the stream.
  `int`
  InputStreamConsumer.`getInteger(int maxDigits)`
  Read a decimal representation of an integer from the stream.