Table of Contents

Class CursorException

Namespace
DataStax.AstraDB.DataApi.Core.Enumeration
Assembly
DataStax.AstraDB.DataApi.dll

Exception thrown when a cursor operation is attempted in an invalid state.

public class CursorException : Exception, ISerializable, _Exception
Inheritance
CursorException
Implements
Inherited Members

Constructors

CursorException(string, CursorState)

Initializes a new instance of the CursorException class.

public CursorException(string message, CursorState state)

Parameters

message string

The error message.

state CursorState

The cursor state when the error occurred.

Properties

CursorState

Gets the cursor state when the error occurred.

public CursorState CursorState { get; }

Property Value

CursorState