com.datastax.driver.core.exceptions
Class QueryExecutionException

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.QueryExecutionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
QueryTimeoutException, TruncateException, UnavailableException

public abstract class QueryExecutionException
extends DriverException

Exception related to the execution of a query. This correspond to the exception that Cassandra throw when a (valid) query cannot be executed (TimeoutException, UnavailableException, ...).

See Also:
Serialized Form

Constructor Summary
protected QueryExecutionException(String msg)
           
protected QueryExecutionException(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

QueryExecutionException

protected QueryExecutionException(String msg)

QueryExecutionException

protected QueryExecutionException(String msg,
                                  Throwable cause)


Copyright © 2013. All Rights Reserved.