org.ehcache.exceptions
Class SerializerException

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

public class SerializerException
extends java.lang.RuntimeException

Exception thrown by a Cache when a store cannot serialize or deserialize a value.

See Also:
Serialized Form

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


SerializerException

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

Parameters:
message - information about the exception

SerializerException

public SerializerException(java.lang.String message,
                           java.lang.Throwable cause)
Creates an exception 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 an exception with the provided cause.

Parameters:
cause - the cause of this exception