Class ClientRequestException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ClientRequestException
    extends ClientException
    Exception representing errors related to client requests in Fauna.

    This exception is thrown when there is an issue with the structure or content of a request sent from the client, such as invalid parameters or improperly formatted data. Extends ClientException to provide information specific to request-related errors.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ClientRequestException​(java.lang.String message)
      Constructs a new ClientRequestException with the specified detail message.
      ClientRequestException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new ClientRequestException with the specified detail message and cause.
    • 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

      • ClientRequestException

        public ClientRequestException​(java.lang.String message)
        Constructs a new ClientRequestException with the specified detail message.
        Parameters:
        message - A String describing the reason for the client request error.
      • ClientRequestException

        public ClientRequestException​(java.lang.String message,
                                      java.lang.Throwable cause)
        Constructs a new ClientRequestException with the specified detail message and cause.
        Parameters:
        message - A String describing the reason for the client request error.
        cause - The underlying Throwable cause of the error.