public class CacheExistsException extends CacheException
Cache
if one already exists.CacheFactory.create()
,
Serialized FormConstructor 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. |
toString
getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public CacheExistsException()
public CacheExistsException(Cache cache, String msg)
CacheExistsException
with the specified detail message.cache
- the Cache
that already existsmsg
- the detail messagepublic Cache getCache()
Cache
that already exists.Cache
that already exists