org.apache.geode.cache.query

## Class IndexNameConflictException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - org.apache.geode.GemFireCheckedException
      - - org.apache.geode.cache.query.QueryException
        - - org.apache.geode.cache.query.IndexNameConflictException

- All Implemented Interfaces:
    java.io.Serializable

      public class IndexNameConflictException
      extends QueryException

  Thrown while creating the new index if there exists an Index with the same name as new index.
  Since:
    GemFire 4.0
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IndexNameConflictException(java.lang.String msg)` Constructs instance of IndexNameConflictException with error message
    `IndexNameConflictException(java.lang.String msg, java.lang.Throwable cause)` Constructs instance of IndexNameConflictException with error message and cause

  - ### Method Summary

    - ### Methods inherited from class org.apache.geode.GemFireCheckedException

      `getRootCause`

    - ### 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

    - #### IndexNameConflictException

          public IndexNameConflictException(java.lang.String msg)

      Constructs instance of IndexNameConflictException with error message
      Parameters:
        `msg` - the error message

    - #### IndexNameConflictException

          public IndexNameConflictException(java.lang.String msg,
                                            java.lang.Throwable cause)

      Constructs instance of IndexNameConflictException with error message and cause
      Parameters:
        `msg` - the error message
        `cause` - a Throwable that is a cause of this exception