Skip to content

Commit 342de66

Browse files
committed
Add @throws params to the async quick tour examples
JAVA-1702
1 parent bb65cd9 commit 342de66

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

driver-async/src/examples/tour/QuickTour.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public class QuickTour {
5656
* Run this main method to see the output of this quick example.
5757
*
5858
* @param args takes an optional single argument for the connection string
59+
* @throws InterruptedException if a latch is interrupted
5960
*/
6061
public static void main(final String[] args) throws InterruptedException {
6162
MongoClient mongoClient;

driver-async/src/examples/tour/QuickTourAdmin.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public class QuickTourAdmin {
3939
* Run this main method to see the output of this quick example.
4040
*
4141
* @param args takes an optional single argument for the connection string
42+
* @throws InterruptedException if a latch is interrupted
4243
*/
4344
public static void main(final String[] args) throws InterruptedException {
4445
MongoClient mongoClient;

0 commit comments

Comments
 (0)