instead.@Deprecated public class CommandFailureException extends MongoCommandException
MongoException.CursorNotFound, MongoException.DuplicateKey, MongoException.Network| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
Deprecated.
|
_code| Constructor and Description |
|---|
CommandFailureException(CommandResult commandResult)
Deprecated.
for internal use only
|
| Modifier and Type | Method and Description |
|---|---|
CommandResult |
getCommandResult()
Deprecated.
|
getErrorCode, getErrorMessage, getServerAddressgetCode, parseprivate static final long serialVersionUID
@Deprecated public CommandFailureException(CommandResult commandResult)
commandResult - the result@Deprecated public CommandResult getCommandResult()
MongoCommandException.getErrorMessage() or MongoException.getCode() or MongoCommandException.getServerAddress()getCommandResult in class MongoCommandException