AmbiguousNameException (Apache Geode 1.15.4)

org.apache.geode.cache.query

## Class AmbiguousNameException

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

- All Implemented Interfaces:
    Serializable

      public class AmbiguousNameException
      extends NameResolutionException

  Thrown if an attribute or method name in a query can be resolved to more than one object in scope or if there is more than one maximally specific overridden method in a class.
  Since:
    GemFire 4.0
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AmbiguousNameException(String msg)` Constructs instance of AmbiguousNameException with error message
    `AmbiguousNameException(String msg, Throwable cause)` Constructs instance of AmbiguousNameException 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

    - #### AmbiguousNameException

          public AmbiguousNameException(String msg)

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

    - #### AmbiguousNameException

          public AmbiguousNameException(String msg,
                                        Throwable cause)

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