Package com.fauna.exception
Class ThrottlingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.fauna.exception.FaunaException
-
- com.fauna.exception.ServiceException
-
- com.fauna.exception.ThrottlingException
-
- All Implemented Interfaces:
RetryableException
,java.io.Serializable
public class ThrottlingException extends ServiceException implements RetryableException
Exception representing a throttling error in Fauna, indicating that a query exceeded plan throughput limits.It implements
RetryableException
ExtendsServiceException
to provide details specific to throttling errors.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ThrottlingException(QueryFailure response)
Constructs a newThrottlingException
with the specifiedQueryFailure
details.
-
Method Summary
-
Methods inherited from class com.fauna.exception.ServiceException
getErrorCode, getQueryTags, getResponse, getSchemaVersion, getStats, getStatusCode, getSummary, getTxnTs
-
-
-
-
Constructor Detail
-
ThrottlingException
public ThrottlingException(QueryFailure response)
Constructs a newThrottlingException
with the specifiedQueryFailure
details.- Parameters:
response
- TheQueryFailure
object containing details about the throttling error.
-
-