Package com.hazelcast.cache
Class CacheNotExistsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- com.hazelcast.cache.CacheNotExistsException
-
- All Implemented Interfaces:
java.io.Serializable
public class CacheNotExistsException extends java.lang.IllegalStateException
This exception class is thrown while creatingCacheRecordStore
instances but the cache config does not exist on the node to create the instance on. This can happen in either of two cases:
- the cache's config is not yet distributed to the node, or
- the cache has been already destroyed.
For the first option, the caller can decide to just retry the operation a couple of times since distribution is executed in a asynchronous way.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CacheNotExistsException(java.lang.String s)
-