Class InvalidRequestException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidRequestException
    extends ServiceException
    Exception representing an invalid query request.

    This exception is thrown when a request sent to Fauna does not conform to the API specifications, typically due to malformed data, incorrect parameters, or other request-related issues. Extends ServiceException to provide specific details about the invalid request.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidRequestException​(QueryFailure response)
      Constructs a new InvalidRequestException with the specified QueryFailure response.
    • 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

      • InvalidRequestException

        public InvalidRequestException​(QueryFailure response)
        Constructs a new InvalidRequestException with the specified QueryFailure response.
        Parameters:
        response - The QueryFailure object containing details about the invalid request.