java.lang.Object | ||||||
↳ | java.util.AbstractMap<K, V> | |||||
↳ | java.util.HashMap<K, V> | |||||
↳ | java.util.LinkedHashMap<K, V> | |||||
↳ | org.bson.BasicBSONObject | |||||
↳ | com.mongodb.BasicDBObject | |||||
↳ | com.mongodb.CommandResult |
A simple wrapper for the result of getLastError() calls and other commands
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
gets the "errmsg" field which holds the error message
| |||||||||||
utility method to create an exception with the command name
| |||||||||||
gets the "ok" field which is the result of the command
| |||||||||||
throws an exception containing the cmd name, in case the command failed, or the "err/code" information
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
gets the "errmsg" field which holds the error message
utility method to create an exception with the command name
gets the "ok" field which is the result of the command
throws an exception containing the cmd name, in case the command failed, or the "err/code" information
MongoException |
---|