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