Class TooManyDocumentsToCountException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.datastax.astra.client.exceptions.DataAPIException
com.datastax.astra.client.collections.exceptions.TooManyDocumentsToCountException
- All Implemented Interfaces:
Serializable
Error when too many documents in the collection
- 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
ConstructorDescriptionDefault constructor.TooManyDocumentsToCountException
(int upperLimit) Default constructor. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TooManyDocumentsToCountException
public TooManyDocumentsToCountException()Default constructor. -
TooManyDocumentsToCountException
public TooManyDocumentsToCountException(int upperLimit) Default constructor.- Parameters:
upperLimit
- what it the most the count can return
-