org.ehcache.exceptions
Class CacheWritingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.ehcache.exceptions.CacheWritingException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BulkCacheWritingException

public class CacheWritingException
extends java.lang.RuntimeException

Exception thrown by a Cache when the CacheLoaderWriter it uses threw an Exception while writing a value for a given key

See Also:
Serialized Form

Constructor Summary
CacheWritingException()
          Constructs a CacheWritingException
CacheWritingException(java.lang.String message)
          Constructs a CacheWritingException with the provided message.
CacheWritingException(java.lang.String message, java.lang.Throwable cause)
          Constructs a CacheWritingException wrapping the cause passed in and with the provided message.
CacheWritingException(java.lang.Throwable cause)
          Constructs a CacheWritingException wrapping the cause passed in.
 
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

CacheWritingException

public CacheWritingException()
Constructs a CacheWritingException


CacheWritingException

public CacheWritingException(java.lang.String message)
Constructs a CacheWritingException with the provided message.

Parameters:
message - the detail message.

CacheWritingException

public CacheWritingException(java.lang.String message,
                             java.lang.Throwable cause)
Constructs a CacheWritingException wrapping the cause passed in and with the provided message.

Parameters:
message - the detail message.
cause - the detail message.

CacheWritingException

public CacheWritingException(java.lang.Throwable cause)
Constructs a CacheWritingException wrapping the cause passed in.

Parameters:
cause - the detail message.