public class InvalidProtocolBufferException extends IOException
Constructor and Description |
---|
InvalidProtocolBufferException(String description) |
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 unfinishedMessage)
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, toString
public InvalidProtocolBufferException(String description)
public InvalidProtocolBufferException setUnfinishedMessage(MessageLite unfinishedMessage)
Parser
interface.public MessageLite getUnfinishedMessage()
Copyright © 2008–2015 Google. All rights reserved.