Package org.ehcache.spi.serialization
Class SerializerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.ehcache.spi.serialization.SerializerException
-
- All Implemented Interfaces:
Serializable
public class SerializerException extends RuntimeException
Thrown by aSerializerwhen it cannot serialize or deserialize an instance.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SerializerException()Creates aSerializerException.SerializerException(String message)Creates aSerializerExceptionwith the provided message.SerializerException(String message, Throwable cause)Creates aSerializerExceptionwith the provided message and cause.SerializerException(Throwable cause)Creates aSerializerExceptionwith the provided cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SerializerException
public SerializerException()
Creates aSerializerException.
-
SerializerException
public SerializerException(String message)
Creates aSerializerExceptionwith the provided message.- Parameters:
message- information about the exception
-
SerializerException
public SerializerException(String message, Throwable cause)
Creates aSerializerExceptionwith the provided message and cause.- Parameters:
message- information about the exceptioncause- the cause of this exception
-
SerializerException
public SerializerException(Throwable cause)
Creates aSerializerExceptionwith the provided cause.- Parameters:
cause- the cause of this exception
-
-