Class CursorError

All Implemented Interfaces:
Serializable

public class CursorError extends DataAPIException
Exception thrown when an error occurs while using a cursor.
See Also:
  • Field Details

    • cursor

      public final AbstractCursor<?,?> cursor
      The default error code for cursor errors.
    • state

      public final CursorState state
      The state of the cursor when the error occurred.
  • Constructor Details

    • CursorError

      public CursorError(String message, AbstractCursor<?,?> cursor)
      Constructor.
      Parameters:
      message - the error message.
      cursor - the cursor that caused the error.