Package com.fauna.exception
Class ServiceInternalException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.fauna.exception.FaunaException
-
- com.fauna.exception.ServiceException
-
- com.fauna.exception.ServiceInternalException
-
- All Implemented Interfaces:
java.io.Serializable
public class ServiceInternalException extends ServiceException
Exception representing an unexpected internal server error in Fauna.This exception is thrown when Fauna encounters an unexpected internal error that prevents it from completing a request, typically indicating a server-side issue. Extends
ServiceException
to provide details specific to internal server errors.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceInternalException(QueryFailure response)
Constructs a newServiceInternalException
with the specifiedQueryFailure
details.
-
Method Summary
-
Methods inherited from class com.fauna.exception.ServiceException
getErrorCode, getQueryTags, getResponse, getSchemaVersion, getStats, getStatusCode, getSummary, getTxnTs
-
-
-
-
Constructor Detail
-
ServiceInternalException
public ServiceInternalException(QueryFailure response)
Constructs a newServiceInternalException
with the specifiedQueryFailure
details.- Parameters:
response
- TheQueryFailure
object containing details about the internal server error.
-
-