|
ehcache | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.sf.ehcache.CacheException
A Cache Exception. Uses JDK1.4 Chained Exceptions.
Warning. Any calls toCacheException(String, Throwable)
will fail on JDK1.3 and lower.
These should catch the Exception and use the CacheException(String)
method.
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 |
public CacheException()
public CacheException(java.lang.String message)
message
- public CacheException(java.lang.String message, java.lang.Throwable cause) throws java.lang.NoSuchMethodError
message
- The exception message.cause
- The original cause of the exception
java.lang.NoSuchMethodError
- if called on JDK1.3 or lower
|
ehcache | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |