File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -146,6 +146,11 @@ public ServerAddress getServerUsed() {
146146 static class CommandFailure extends MongoException {
147147 private static final long serialVersionUID = 1L ;
148148
149+ /**
150+ *
151+ * @param res the result
152+ * @param msg the message
153+ */
149154 public CommandFailure ( CommandResult res , String msg ){
150155 super ( ServerError .getCode ( res ) , msg );
151156 }
Original file line number Diff line number Diff line change @@ -96,11 +96,20 @@ public static class Network extends MongoException {
9696
9797 private static final long serialVersionUID = -4415279469780082174L ;
9898
99+ /**
100+ *
101+ * @param msg the message
102+ * @param ioe the cause
103+ */
99104 public Network ( String msg , java .io .IOException ioe ){
100105 super ( -2 , msg , ioe );
101106 _ioe = ioe ;
102107 }
103108
109+ /**
110+ *
111+ * @param ioe the cause
112+ */
104113 public Network ( java .io .IOException ioe ){
105114 super ( ioe .toString () , ioe );
106115 _ioe = ioe ;
@@ -116,6 +125,11 @@ public static class DuplicateKey extends MongoException {
116125
117126 private static final long serialVersionUID = -4415279469780082174L ;
118127
128+ /**
129+ *
130+ * @param code the error code
131+ * @param msg the message
132+ */
119133 public DuplicateKey ( int code , String msg ){
120134 super ( code , msg );
121135 }
@@ -133,8 +147,8 @@ public static class CursorNotFound extends MongoException {
133147
134148 /**
135149 *
136- * @param cursorId
137- * @param serverAddress
150+ * @param cursorId cursor
151+ * @param serverAddress server address
138152 */
139153 public CursorNotFound (long cursorId , ServerAddress serverAddress ){
140154 super ( -5 , "cursor " + cursorId + " not found on server " + serverAddress );
You can’t perform that action at this time.
0 commit comments