GemFire 6.5.1

com.gemstone.gemfire.cache.query
Class AmbiguousNameException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.gemstone.gemfire.GemFireCheckedException
              extended by com.gemstone.gemfire.cache.query.QueryException
                  extended by com.gemstone.gemfire.cache.query.NameResolutionException
                      extended by com.gemstone.gemfire.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:
4.0
See Also:
Serialized Form

Constructor Summary
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 com.gemstone.gemfire.GemFireCheckedException
getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, 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

GemFire 6.5.1

Copyright © 2002-2010 GemStone Systems, Inc. All Rights Reserved.