com.mongodb
Class MongoException.CursorNotFound

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.mongodb.MongoException
                  extended by com.mongodb.MongoException.CursorNotFound
All Implemented Interfaces:
Serializable
Enclosing class:
MongoException

public static class MongoException.CursorNotFound
extends MongoException

Subclass of MongoException representing a cursor-not-found exception

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.mongodb.MongoException
MongoException.CursorNotFound, MongoException.DuplicateKey, MongoException.Network
 
Method Summary
 long getCursorId()
          Get the cursor id that wasn't found.
 ServerAddress getServerAddress()
          The server address where the cursor is.
 
Methods inherited from class com.mongodb.MongoException
getCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCursorId

public long getCursorId()
Get the cursor id that wasn't found.

Returns:

getServerAddress

public ServerAddress getServerAddress()
The server address where the cursor is.

Returns: