Class 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 new QueryCheckException with the specified QueryFailure details.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • QueryCheckException

        public QueryCheckException​(QueryFailure failure)
        Constructs a new QueryCheckException with the specified QueryFailure details.
        Parameters:
        failure - The QueryFailure object containing details about the validation failure.