instead
.@Deprecated public class CommandFailureException extends MongoCommandException
MongoException.CursorNotFound, MongoException.DuplicateKey, MongoException.Network
Constructor and Description |
---|
CommandFailureException(CommandResult commandResult)
Deprecated.
for internal use only
|
Modifier and Type | Method and Description |
---|---|
CommandResult |
getCommandResult()
Deprecated.
|
getErrorCode, getErrorMessage, getServerAddress
getCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
@Deprecated public CommandFailureException(CommandResult commandResult)
commandResult
- the result@Deprecated public CommandResult getCommandResult()
MongoCommandException.getErrorMessage()
or MongoException.getCode()
or MongoCommandException.getServerAddress()