org.ehcache.exceptions
Class CachePersistenceException

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

public class CachePersistenceException
extends java.lang.Exception

Exception that can occur from operations on PersistentCacheManager.

See Also:
PersistentCacheManager.destroyCache(String), Serialized Form

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

CachePersistenceException

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

Parameters:
message - information about the exception

CachePersistenceException

public CachePersistenceException(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