org.ehcache.spi.serialization
Class SerializerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.ehcache.spi.serialization.SerializerException
All Implemented Interfaces:
java.io.Serializable

public class SerializerException
extends java.lang.RuntimeException

Thrown by a Serializer when it cannot serialize or deserialize an instance.

See Also:
Serialized Form

Constructor Summary
SerializerException()
          Creates a SerializerException.
SerializerException(java.lang.String message)
          Creates a SerializerException with the provided message.
SerializerException(java.lang.String message, java.lang.Throwable cause)
          Creates a SerializerException with the provided message and cause.
SerializerException(java.lang.Throwable cause)
          Creates a SerializerException with the provided 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

SerializerException

public SerializerException()
Creates a SerializerException.


SerializerException

public SerializerException(java.lang.String message)
Creates a SerializerException with the provided message.

Parameters:
message - information about the exception

SerializerException

public SerializerException(java.lang.String message,
                           java.lang.Throwable cause)
Creates a SerializerException with the provided message and cause.

Parameters:
message - information about the exception
cause - the cause of this exception

SerializerException

public SerializerException(java.lang.Throwable cause)
Creates a SerializerException with the provided cause.

Parameters:
cause - the cause of this exception