public class CacheEntryException extends ObjectGridException
| Constructor and Description |
|---|
CacheEntryException()
Constructs a new CacheEntryException with
null as its detail
message. |
CacheEntryException(String message)
Constructs a new CacheEntryException with the specified detail message.
|
CacheEntryException(String message,
Throwable cause)
Constructs a new CacheEntryException with the specified detail message and
cause.
|
CacheEntryException(Throwable cause)
Constructs a new CacheEntryException with a specified cause.
|
getCause, initCauseaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CacheEntryException()
null as its detail
message. The cause is not initialized, and may subsequently be initialized
by a call to the initCause method.public CacheEntryException(String message)
initCause method.message - the detail message. The detail message is saved for later
retrieval by the getMessage method.ObjectGridException.initCause(Throwable),
Throwable.getMessage()public CacheEntryException(String message, Throwable cause)
Note that the detail message associated with cause is
not automatically incorporated in this CacheEntryException's detail
message.
message - the detail message (which is saved for later retrieval by the
getMessage method).cause - the cause (which is saved for later retrieval by the
getCause method). (Anull value is
permitted, and indicates that the cause is nonexistent or
unknown).ObjectGridException.getCause(),
Throwable.getMessage()public CacheEntryException(Throwable cause)
(cause==null ? null : cause.toString())
is used (which typically contains the class and detail message of cause).
This constructor is useful for CacheEntryExceptions that are little more
than wrappers for other throwables.cause - is the exception that caused this exception to be thrown,
which is saved for later retrieval by the getCause() method.
A null value is permitted and indicates that the cause
is nonexistent or is unknown.ObjectGridException.getCause()