ehcache

net.sf.ehcache
Class CacheException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bynet.sf.ehcache.CacheException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ObjectExistsException

public class CacheException
extends java.lang.Exception

A Cache Exception. Uses JDK1.4 Chained Exceptions.

Warning. Any calls to CacheException(String, Throwable) will fail on JDK1.3 and lower. These should catch the Exception and use the CacheException(String) method.

Version:
$Id: CacheException.java,v 1.4 2004/09/28 04:52:27 gregluck Exp $
Author:
Greg Luck
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
CacheException()
          Constructor for the CacheException object
CacheException(java.lang.String message)
          Constructor for the CacheException object
CacheException(java.lang.String message, java.lang.Throwable cause)
          Constructor for the CachException object with a cause.
 
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

CacheException

public CacheException()
Constructor for the CacheException object


CacheException

public CacheException(java.lang.String message)
Constructor for the CacheException object

Parameters:
message -

CacheException

public CacheException(java.lang.String message,
                      java.lang.Throwable cause)
               throws java.lang.NoSuchMethodError
Constructor for the CachException object with a cause.

Parameters:
message - The exception message.
cause - The original cause of the exception
Throws:
java.lang.NoSuchMethodError - if called on JDK1.3 or lower

ehcache