GemFire 5.7.1

Class CqInvalidException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by com.gemstone.gemfire.cache.query.CqInvalidException
All Implemented Interfaces:

public class CqInvalidException
extends IllegalArgumentException

Thrown if the query doesnot meet the CQ constraints. E.g.:Query string should refer only one region, join not supported. The query must be a SELECT statement. DISTINCT queries are not supported. Projections are not supported. Only one iterator in the FROM clause is supported, and it must be a region path. Bind parameters in the query are not supported for the initial release.

See Also:
Serialized Form

Constructor Summary
CqInvalidException(String msg)
          Construct an instance of QueryInvalidException
CqInvalidException(String msg, Throwable cause)
          Construct an instance of QueryInvalidException
Method Summary
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


public CqInvalidException(String msg)
Construct an instance of QueryInvalidException

msg - the error message


public CqInvalidException(String msg,
                          Throwable cause)
Construct an instance of QueryInvalidException

msg - the error message
cause - a Throwable cause

GemFire 5.7.1

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