com.mongodb
Class MongoException.CursorNotFound
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.mongodb.MongoException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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: