This is the base class for all cache exceptions.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | CacheException(String
the detail message. The detail message is saved for
later retrieval by the message)getMessage() method.Constructs a new CacheException with a message string. |
| public | CacheException(String
the detail message. The detail message is saved for
later retrieval by the message, Throwable getMessage() method.the cause (that is saved for later retrieval by the
cause)getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)Constructs a CacheException with a message string, and a base exception |
| public | CacheException(Throwable
the cause (that is saved for later retrieval by the
cause)getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)Constructs a new CacheException with the specified cause and a detail message of (cause==null ? |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| CacheException | back to summary |
|---|---|
| public CacheException() Constructs a new CacheException.
| |
| CacheException | back to summary |
|---|---|
| public CacheException(String message) Constructs a new CacheException with a message string.
| |
| CacheException | back to summary |
|---|---|
| public CacheException(String message, Throwable cause) Constructs a CacheException with a message string, and a base exception
| |
| CacheException | back to summary |
|---|---|
| public CacheException(Throwable cause) Constructs a new CacheException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (that typically contains the class and detail message of cause). This constructor is useful for runtime exceptions that are little more than wrappers for other throwables.
| |