Class CacheExistsException

All Implemented Interfaces:
Serializable

public class CacheExistsException extends CacheException
Thrown when attempting to create a Cache if one already exists.
Since:
GemFire 3.0
See Also:
  • Constructor Details

    • CacheExistsException

      public CacheExistsException()
    • CacheExistsException

      public CacheExistsException(Cache cache, String msg)
      Constructs an instance of CacheExistsException with the specified detail message.
      Parameters:
      cache - the Cache that already exists
      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:
      cache - the Cache that already exists
      msg - the detail message
      cause - the causal Throwable
  • Method Details

    • getCache

      public Cache getCache()
      Returns the Cache that already exists.
      Returns:
      the Cache that already exists
      Since:
      GemFire 4.0