Package com.fauna.exception
Class QueryTimeoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.fauna.exception.FaunaException
-
- com.fauna.exception.ServiceException
-
- com.fauna.exception.QueryTimeoutException
-
- All Implemented Interfaces:
java.io.Serializable
public class QueryTimeoutException extends ServiceException
Exception representing a timeout error encountered during query execution in Fauna.This exception is thrown when a query fails to complete within the specified time limit, indicating that the query timeout was exceeded. Extends
ServiceExceptionto provide details specific to query timeout errors.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueryTimeoutException(QueryFailure response)Constructs a newQueryTimeoutExceptionwith the specifiedQueryFailuredetails.
-
Method Summary
-
Methods inherited from class com.fauna.exception.ServiceException
getErrorCode, getQueryTags, getResponse, getSchemaVersion, getStats, getStatusCode, getSummary, getTxnTs
-
-
-
-
Constructor Detail
-
QueryTimeoutException
public QueryTimeoutException(QueryFailure response)
Constructs a newQueryTimeoutExceptionwith the specifiedQueryFailuredetails.- Parameters:
response- TheQueryFailureobject containing details about the timeout error.
-
-