Class InvalidProtocolBufferException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidProtocolBufferException
    extends java.io.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:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidProtocolBufferException

        public InvalidProtocolBufferException​(java.lang.String description)