Class CacheExistsException

    • Constructor Summary

      Constructors 
      Constructor Description
      CacheExistsException()  
      CacheExistsException​(Cache cache, java.lang.String msg)
      Constructs an instance of CacheExistsException with the specified detail message.
      CacheExistsException​(Cache cache, java.lang.String msg, java.lang.Throwable cause)
      Constructs an instance of CacheExistsException with the specified detail message and cause.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Cache getCache()
      Returns the Cache that already exists.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CacheExistsException

        public CacheExistsException()
      • CacheExistsException

        public CacheExistsException​(Cache cache,
                                    java.lang.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,
                                    java.lang.String msg,
                                    java.lang.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 Detail

      • getCache

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