Class DataAPITimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.datastax.astra.client.exceptions.DataAPIException
com.datastax.astra.client.exceptions.DataAPIHttpException
com.datastax.astra.client.exceptions.DataAPITimeoutException
- All Implemented Interfaces:
Serializable
A request to the Data API resulted in an HTTP 4xx or 5xx response.
In most cases this comes with additional information: the purpose
of this class is to present such information in a structured way,
asking to what happens for the DataAPIResponseException, while
still raising`.
- See Also:
-
Field Summary
Fields inherited from class com.datastax.astra.client.exceptions.DataAPIException
DEFAULT_ERROR_CODE, DEFAULT_ERROR_MESSAGE, ERROR_CODE_HTTP, ERROR_CODE_INTERRUPTED, ERROR_CODE_RANDOM, ERROR_CODE_SERIALIZATION, ERROR_CODE_TIMEOUT
-
Constructor Summary
ConstructorDescriptionDataAPITimeoutException
(String errorMessage) Constructors providing all arguments and a parent exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DataAPITimeoutException
Constructors providing all arguments and a parent exception.- Parameters:
errorMessage
- error message
-