me.prettyprint.hector.api.exceptions
Class HectorSerializationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by me.prettyprint.hector.api.exceptions.HectorException
                  extended by me.prettyprint.hector.api.exceptions.HectorSerializationException
All Implemented Interfaces:
Serializable

public class HectorSerializationException
extends HectorException

Describes a serialization exception. Serialization exceptions may happen when Serializer.fromBytes(byte[]) encounters a value it's unable to interpret to it's target object. For example an ObjectSerializer may be unable to deserialize a java object back to its class if the object it of the wrong format or the target class is not on the classpath.

Author:
Ran Tavory
See Also:
Serialized Form

Constructor Summary
HectorSerializationException(String msg)
           
HectorSerializationException(String msg, Throwable t)
           
HectorSerializationException(Throwable t)
           
 
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

HectorSerializationException

public HectorSerializationException(String msg)

HectorSerializationException

public HectorSerializationException(Throwable t)

HectorSerializationException

public HectorSerializationException(String msg,
                                    Throwable t)


Copyright © 2011. All Rights Reserved.