org.fusesource.hawtbuf.proto
Class InvalidProtocolBufferException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
- All Implemented Interfaces:
- java.io.Serializable
public class InvalidProtocolBufferException
- extends java.io.IOException
Thrown when a protocol message being parsed is invalid in some way, e.g. it
contains a malformed varint or a negative byte length.
- Author:
- kenton@google.com Kenton Varda
- See Also:
- Serialized Form
|
Method Summary |
java.lang.Boolean |
isEOF()
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvalidProtocolBufferException
public InvalidProtocolBufferException(java.lang.String description)
InvalidProtocolBufferException
public InvalidProtocolBufferException(java.lang.String description,
java.lang.Boolean eof)
isEOF
public java.lang.Boolean isEOF()
Copyright © 2010-2012 FuseSource, Corp.. All Rights Reserved.