com.google.visualization.datasource.base
Class InvalidQueryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.google.visualization.datasource.base.DataSourceException
              extended by com.google.visualization.datasource.base.InvalidQueryException
All Implemented Interfaces:
java.io.Serializable

public class InvalidQueryException
extends DataSourceException

An exception that is thrown when trying to serve an invalid query. A query can fail at parsing time, or at later validations.

Author:
Yonatan B.Y., Hillel M.
See Also:
Serialized Form

Constructor Summary
InvalidQueryException(java.lang.String messageToUser)
          Construct a data source exception with an InvalidQuery reason type and a message to the user.
 
Method Summary
 
Methods inherited from class com.google.visualization.datasource.base.DataSourceException
getMessage, getMessageToUser, getReasonType
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, 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

InvalidQueryException

public InvalidQueryException(java.lang.String messageToUser)
Construct a data source exception with an InvalidQuery reason type and a message to the user.

Parameters:
messageToUser - The message for the user.


Copyright © 2009 Google. All Rights Reserved.