Class QueryValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.datastax.oss.driver.api.core.DriverException
-
- com.datastax.oss.driver.api.core.servererrors.CoordinatorException
-
- com.datastax.oss.driver.api.core.servererrors.QueryValidationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AlreadyExistsException,InvalidConfigurationInQueryException,InvalidQueryException,SyntaxError,UnauthorizedException
public abstract class QueryValidationException extends CoordinatorException
A server-side error thrown when a query cannot be executed because it is syntactically incorrect, invalid or unauthorized.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedQueryValidationException(Node coordinator, String message, ExecutionInfo executionInfo, boolean writableStackTrace)
-
Method Summary
-
Methods inherited from class com.datastax.oss.driver.api.core.servererrors.CoordinatorException
getCoordinator
-
Methods inherited from class com.datastax.oss.driver.api.core.DriverException
copy, getExecutionInfo, setExecutionInfo
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
QueryValidationException
protected QueryValidationException(@NonNull Node coordinator, @NonNull String message, @Nullable ExecutionInfo executionInfo, boolean writableStackTrace)
-
-