Class InvalidProtocolBufferException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
All Implemented Interfaces:
Serializable

public class InvalidProtocolBufferException extends IOException
Thrown when a protocol message being parsed is invalid in some way, e.g. it contains a malformed varint or a negative byte length.
Author:
kenton@google.com Kenton Varda
See Also:
  • Constructor Details

    • InvalidProtocolBufferException

      public InvalidProtocolBufferException(String description)
    • InvalidProtocolBufferException

      public InvalidProtocolBufferException(String description, Boolean eof)
  • Method Details