Class CacheNotExistsException

All Implemented Interfaces:
Serializable

public class CacheNotExistsException
extends IllegalStateException
This exception class is thrown while creating CacheRecordStore 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