Package org.apache.ignite.cache

## Class CacheExistsException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - javax.cache.CacheException
        - - org.apache.ignite.cache.CacheExistsException

- All Implemented Interfaces:
    `Serializable`

      public class CacheExistsException
      extends javax.cache.CacheException

  Exception thrown when cache must be created but it already exists.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CacheExistsException​(String msg)` |
    `CacheExistsException​(String msg, @Nullable Throwable cause)` |
    `CacheExistsException​(Throwable cause)` |

  - ### Method Summary

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### CacheExistsException

          public CacheExistsException​(String msg)

      Parameters:
        `msg` - Error message.

    - #### CacheExistsException

          public CacheExistsException​(Throwable cause)

      Parameters:
        `cause` - Error cause.

    - #### CacheExistsException

          public CacheExistsException​(String msg,
                                      @Nullable
                                      @Nullable Throwable cause)

      Parameters:
        `msg` - Error message.
        `cause` - Error cause.