public class MongoCursorNotFoundException extends MongoException
MongoException
representing a cursor-not-found exception.MongoException.CursorNotFound, MongoException.DuplicateKey, MongoException.Network
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.
|
getCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public long getCursorId()
public ServerAddress getServerAddress()