public static class MongoException.CursorNotFound extends MongoException
MongoException.CursorNotFound, MongoException.DuplicateKey, MongoException.Network| Constructor and Description |
|---|
MongoException.CursorNotFound(long cursorId,
ServerAddress serverAddress) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCursorId()
Get the cursor id that wasn't found.
|
ServerAddress |
getServerAddress()
The server address where the cursor is.
|
getCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MongoException.CursorNotFound(long cursorId,
ServerAddress serverAddress)
cursorId - cursorserverAddress - server addresspublic long getCursorId()
public ServerAddress getServerAddress()