Package io.protostuff
Class ProtobufException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
io.protostuff.ProtostuffException
io.protostuff.ProtobufException
- 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
ConstructorsConstructorDescriptionProtobufException
(String description) ProtobufException
(String description, Throwable cause) -
Method Summary
Modifier and TypeMethodDescription(package private) static ProtobufException
(package private) static ProtobufException
(package private) static ProtobufException
(package private) static ProtobufException
(package private) static ProtobufException
(package private) static ProtobufException
(package private) static ProtobufException
(package private) static ProtobufException
(package private) static ProtobufException
(package private) static ProtobufException
truncatedMessage
(Throwable cause) 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:
-
ERR_TRUNCATED_MESSAGE
- See Also:
-
-
Constructor Details
-
ProtobufException
-
ProtobufException
-
-
Method Details
-
truncatedMessage
-
truncatedMessage
-
misreportedSize
-
negativeSize
-
malformedVarint
-
invalidTag
-
invalidEndTag
-
invalidWireType
-
recursionLimitExceeded
-
sizeLimitExceeded
-