We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1a42f0 commit 6c66410Copy full SHA for 6c66410
src/main/com/mongodb/CommandFailureException.java
@@ -27,7 +27,9 @@ public class CommandFailureException extends MongoException {
27
* Construct a new instance with the CommandResult from a failed command
28
*
29
* @param commandResult the result
30
+ * @deprecated for internal use only
31
*/
32
+ @Deprecated
33
public CommandFailureException(CommandResult commandResult){
34
super(ServerError.getCode(commandResult), commandResult.toString());
35
this.commandResult = commandResult;
0 commit comments