Package com.fauna.exception
Class ClientException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.fauna.exception.FaunaException
-
- com.fauna.exception.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 newClientException
with the specified detail message.ClientException(java.lang.String message, java.lang.Throwable cause)
Constructs a newClientException
with the specified detail message and cause.
-
-
-
Constructor Detail
-
ClientException
public ClientException(java.lang.String message)
Constructs a newClientException
with the specified detail message.- Parameters:
message
- AString
describing the reason for the client error.
-
ClientException
public ClientException(java.lang.String message, java.lang.Throwable cause)
Constructs a newClientException
with the specified detail message and cause.- Parameters:
message
- AString
describing the reason for the client error.cause
- The underlyingThrowable
cause of the error.
-
-