Class CursorError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.datastax.astra.client.exceptions.DataAPIException
com.datastax.astra.internal.command.CursorError
- All Implemented Interfaces:
Serializable
Exception thrown when an error occurs while using a cursor.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal AbstractCursor
<?, ?> The default error code for cursor errors.final CursorState
The state of the cursor when the error occurred.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
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
cursor
The default error code for cursor errors. -
state
The state of the cursor when the error occurred.
-
-
Constructor Details
-
CursorError
Constructor.- Parameters:
message
- the error message.cursor
- the cursor that caused the error.
-