com.datastax.driver.core.exceptions
Class QueryValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.datastax.driver.core.exceptions.DriverException
                  extended by com.datastax.driver.core.exceptions.QueryValidationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AlreadyExistsException, InvalidQueryException, SyntaxError, UnauthorizedException

public abstract class QueryValidationException
extends DriverException

An exception indicating that a query cannot be executed because it is syntactically incorrect, invalid, unauthorized or any other reason.

See Also:
Serialized Form

Constructor Summary
protected QueryValidationException(String msg)
           
protected QueryValidationException(String msg, Throwable cause)
           
 
Method Summary
 
Methods inherited from class com.datastax.driver.core.exceptions.DriverException
copy
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryValidationException

protected QueryValidationException(String msg)

QueryValidationException

protected QueryValidationException(String msg,
                                   Throwable cause)


Copyright © 2013. All Rights Reserved.