Class ProtobufException

All Implemented Interfaces:
Serializable

public class ProtobufException extends ProtostuffException
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, David Yu
See Also:
  • Constructor Details

    • ProtobufException

      public ProtobufException(String description)
    • ProtobufException

      public ProtobufException(String description, Throwable cause)