Class ClientException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ClientRequestException, ClientResponseException

    public class ClientException
    extends FaunaException
    Exception representing client-side errors in Fauna.

    This exception is typically thrown when there is an issue with client configuration, request formation, or any other client-specific error that does not originate from Fauna. Extends FaunaException to provide detailed information about the error.

    See Also:
    Serialized Form
    • Constructor Summary

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

      • ClientException

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

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