public class InvalidProtocolBufferException
extends java.io.IOException
Constructor and Description |
---|
InvalidProtocolBufferException(java.lang.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. |
public InvalidProtocolBufferException(java.lang.String description)
public InvalidProtocolBufferException setUnfinishedMessage(MessageLite unfinishedMessage)
Parser
interface.public MessageLite getUnfinishedMessage()