Package com.fauna.exception
Class QueryRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.fauna.exception.FaunaException
-
- com.fauna.exception.ServiceException
-
- com.fauna.exception.QueryRuntimeException
-
- All Implemented Interfaces:
java.io.Serializable
public class QueryRuntimeException extends ServiceException
Exception representing a runtime error encountered during query execution in Fauna.This exception is thrown when a query fails due to a runtime error. Extends
ServiceException
to provide details specific to runtime query errors.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueryRuntimeException(QueryFailure response)
Constructs a newQueryRuntimeException
with the specifiedQueryFailure
details.
-
Method Summary
-
Methods inherited from class com.fauna.exception.ServiceException
getErrorCode, getQueryTags, getResponse, getSchemaVersion, getStats, getStatusCode, getSummary, getTxnTs
-
-
-
-
Constructor Detail
-
QueryRuntimeException
public QueryRuntimeException(QueryFailure response)
Constructs a newQueryRuntimeException
with the specifiedQueryFailure
details.- Parameters:
response
- TheQueryFailure
object containing details about the runtime error.
-
-