Skip to content

Commit 2686904

Browse files
committed
Added Javadoc to MongoOperationTimeoutException constructors
1 parent 88e93ea commit 2686904

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

driver-core/src/main/com/mongodb/MongoOperationTimeoutException.java

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,21 @@
3838
public final class MongoOperationTimeoutException extends MongoTimeoutException {
3939
private static final long serialVersionUID = 1L;
4040

41+
/**
42+
* Construct a new instance.
43+
*
44+
* @param message the message
45+
*/
4146
public MongoOperationTimeoutException(final String message) {
4247
super(message);
4348
}
4449

45-
public MongoOperationTimeoutException(final String message, final Throwable t) {
46-
super(message, t);
50+
/**
51+
* Construct a new instance
52+
* @param message the message
53+
* @param cause the cause
54+
*/
55+
public MongoOperationTimeoutException(final String message, final Throwable cause) {
56+
super(message, cause);
4757
}
4858
}

0 commit comments

Comments
 (0)