GemFire 5.7.1

com.gemstone.gemfire.cache.query
Class CqInvalidException

java.lang.Object
  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:
Serializable

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.

Since:
5.5
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

CqInvalidException

public CqInvalidException(String msg)
Construct an instance of QueryInvalidException

Parameters:
msg - the error message

CqInvalidException

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

Parameters:
msg - the error message
cause - a Throwable cause

GemFire 5.7.1

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