|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.cache.CacheException
public class CacheException
Thrown to indicate an exception has occurred in the Cache.
This is the base class for all cache exceptions.
| Constructor Summary | |
|---|---|
CacheException()
Constructs a new CacheException. |
|
CacheException(String message)
Constructs a new CacheException with a message string. |
|
CacheException(String message,
Throwable throwable)
Constructs a CacheException with a message string, and a base exception |
|
CacheException(Throwable cause)
Constructs a new CacheException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of 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 |
|---|
public CacheException()
public CacheException(String message)
message - the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage() method.
public CacheException(String message,
Throwable throwable)
message - the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage() method.throwable - public CacheException(Throwable cause)
cause - the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||