com.gemstone.gemfire.cache
Class CacheExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.gemstone.gemfire.GemFireException
com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExistsException
- All Implemented Interfaces:
- Serializable
public class CacheExistsException
- extends CacheException
Thrown when attempting to create a Cache if one already exists.
- Since:
- 3.0
- See Also:
CacheFactory.create(com.gemstone.gemfire.distributed.DistributedSystem),
Serialized Form
|
Method Summary |
Cache |
getCache()
Returns the Cache that already exists. |
CacheExistsException
public CacheExistsException(Cache cache,
String msg)
- Constructs an instance of
CacheExistsException with the specified detail message.
- Parameters:
msg - the detail message
CacheExistsException
public CacheExistsException(Cache cache,
String msg,
Throwable cause)
- Constructs an instance of
CacheExistsException with the specified detail message
and cause.
- Parameters:
msg - the detail messagecause - the causal Throwable
getCache
public Cache getCache()
- Returns the
Cache that already exists.
- Since:
- 4.0
Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.