Package org.fusesource.hawtbuf.proto
Class InvalidProtocolBufferException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
- All Implemented Interfaces:
Serializable
Thrown when a protocol message being parsed is invalid in some way, e.g. it
contains a malformed varint or a negative byte length.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInvalidProtocolBufferException
(String description) InvalidProtocolBufferException
(String description, Boolean eof) -
Method Summary
Modifier and TypeMethodDescription(package private) static InvalidProtocolBufferException
(package private) static InvalidProtocolBufferException
(package private) static InvalidProtocolBufferException
isEOF()
(package private) static InvalidProtocolBufferException
(package private) static InvalidProtocolBufferException
(package private) static InvalidProtocolBufferException
(package private) static InvalidProtocolBufferException
(package private) static InvalidProtocolBufferException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
eof
-
-
Constructor Details
-
InvalidProtocolBufferException
-
InvalidProtocolBufferException
-
-
Method Details
-
isEOF
-
truncatedMessage
-
negativeSize
-
malformedVarint
-
invalidTag
-
invalidEndTag
-
invalidWireType
-
recursionLimitExceeded
-
sizeLimitExceeded
-