public class InvalidProtocolBufferException extends IOException
| Constructor and Description |
|---|
InvalidProtocolBufferException(String description) |
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.MessageLite |
getUnfinishedMessage()
Returns the unfinished message attached to the exception, or null if
no message is attached.
|
InvalidProtocolBufferException |
setUnfinishedMessage(com.google.protobuf.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, toStringpublic InvalidProtocolBufferException(String description)
public com.google.protobuf.MessageLite getUnfinishedMessage()
public InvalidProtocolBufferException setUnfinishedMessage(com.google.protobuf.MessageLite unfinishedMessage)
Parser interface.Copyright © 2015 Revolution Systems Inc.. All rights reserved.