com.dyuproject.protostuff
Class ProtobufException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.dyuproject.protostuff.ProtostuffException
                  extended by com.dyuproject.protostuff.ProtobufException
All Implemented Interfaces:
java.io.Serializable

public class ProtobufException
extends ProtostuffException

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, David Yu
See Also:
Serialized Form

Constructor Summary
ProtobufException(java.lang.String description)
           
ProtobufException(java.lang.String description, java.lang.Throwable cause)
           
 
Method Summary
 
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
 

Constructor Detail

ProtobufException

public ProtobufException(java.lang.String description)

ProtobufException

public ProtobufException(java.lang.String description,
                         java.lang.Throwable cause)


Copyright © 2009-2014. All Rights Reserved.