Package com.fauna.exception
Class QueryCheckException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.fauna.exception.FaunaException
-
- com.fauna.exception.ServiceException
-
- com.fauna.exception.QueryCheckException
-
- All Implemented Interfaces:
java.io.Serializable
public class QueryCheckException extends ServiceException
Exception representing a query validation error in Fauna.This exception is thrown when a query fails one or more validation checks in Fauna, indicating issues with the query's syntax, or other query validation prior to execution. Extends
ServiceException
to provide information specific to query validation errors.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueryCheckException(QueryFailure failure)
Constructs a newQueryCheckException
with the specifiedQueryFailure
details.
-
Method Summary
-
Methods inherited from class com.fauna.exception.ServiceException
getErrorCode, getQueryTags, getResponse, getSchemaVersion, getStats, getStatusCode, getSummary, getTxnTs
-
-
-
-
Constructor Detail
-
QueryCheckException
public QueryCheckException(QueryFailure failure)
Constructs a newQueryCheckException
with the specifiedQueryFailure
details.- Parameters:
failure
- TheQueryFailure
object containing details about the validation failure.
-
-