Gemfire JavaDocs
Package org.apache.geode.cache
Class CacheClosedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.geode.GemFireException
-
- org.apache.geode.cache.CacheRuntimeException
-
- org.apache.geode.CancelException
-
- org.apache.geode.cache.CacheClosedException
-
- All Implemented Interfaces:
java.io.Serializable
public class CacheClosedException extends CancelException
Indicates that the caching system has been closed. Can be thrown from almost any method related to regions or theCache
after the cache has been closed.- Since:
- GemFire 3.0
- See Also:
Cache
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CacheClosedException()
Constructs a newCacheClosedException
.CacheClosedException(java.lang.String msg)
Constructs a newCacheClosedException
with a message string.CacheClosedException(java.lang.String msg, java.lang.Throwable cause)
Constructs a newCacheClosedException
with a message string and a cause.CacheClosedException(java.lang.Throwable cause)
Constructs a newCacheClosedException
with a cause.
-
Method Summary
-
Methods inherited from class org.apache.geode.cache.CacheRuntimeException
toString
-
Methods inherited from class org.apache.geode.GemFireException
getRootCause
-
-
-
-
Constructor Detail
-
CacheClosedException
public CacheClosedException()
Constructs a newCacheClosedException
.
-
CacheClosedException
public CacheClosedException(java.lang.String msg)
Constructs a newCacheClosedException
with a message string.- Parameters:
msg
- a message string
-
CacheClosedException
public CacheClosedException(java.lang.String msg, java.lang.Throwable cause)
Constructs a newCacheClosedException
with a message string and a cause.- Parameters:
msg
- the message stringcause
- a causal Throwable
-
CacheClosedException
public CacheClosedException(java.lang.Throwable cause)
Constructs a newCacheClosedException
with a cause.- Parameters:
cause
- a causal Throwable
-
-