public class InvalidProtocolBufferException extends IOException
| Constructor and Description |
|---|
InvalidProtocolBufferException(String
|
| Modifier and Type | Method and Description |
|---|---|
MessageLite |
getUnfinishedMessage()
Returns the unfinished message attached to the exception, or null if no message is attached.
|
InvalidProtocolBufferException |
setUnfinishedMessage(MessageLite
Attaches an unfinished message to the exception to support best-effort parsing in
Parser interface.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidProtocolBufferException(Stringdescription)
public InvalidProtocolBufferExceptionsetUnfinishedMessage(MessageLite unfinishedMessage)
Parser interface.
public MessageLitegetUnfinishedMessage()