public static class

MongoException.CursorNotFound

extends MongoException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.mongodb.MongoException
           ↳ com.mongodb.MongoException.CursorNotFound

Class Overview

Subclass of MongoException representing a cursor-not-found exception

Summary

Public Methods
long getCursorId()
Get the cursor id that wasn't found.
ServerAddress getServerAddress()
The server address where the cursor is.
[Expand]
Inherited Methods
From class com.mongodb.MongoException
From class java.lang.Throwable
From class java.lang.Object

Public Methods

public long getCursorId ()

Get the cursor id that wasn't found.

public ServerAddress getServerAddress ()

The server address where the cursor is.