public class CacheExistsException extends CacheException
Cache if one already exists.CacheFactory.create(),
Serialized Form| Constructor and Description |
|---|
CacheExistsException() |
CacheExistsException(Cache cache,
String msg)
Constructs an instance of
CacheExistsException with the specified detail message. |
CacheExistsException(Cache cache,
String msg,
Throwable cause)
Constructs an instance of
CacheExistsException with the specified detail message
and cause. |
| Modifier and Type | Method and Description |
|---|---|
Cache |
getCache()
Returns the
Cache that already exists. |
toStringgetRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic CacheExistsException()
public CacheExistsException(Cache cache, String msg)
CacheExistsException with the specified detail message.msg - the detail messagepublic Cache getCache()
Cache that already exists.