summaryrefslogtreecommitdiff
path: root/src/mongo/client/connpool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/connpool.h')
-rw-r--r--src/mongo/client/connpool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/connpool.h b/src/mongo/client/connpool.h
index 0839e20729d..68af31a5225 100644
--- a/src/mongo/client/connpool.h
+++ b/src/mongo/client/connpool.h
@@ -382,7 +382,7 @@ private:
class ScopedDbConnection : public AScopedConnection {
public:
/** the main constructor you want to use
- throws UserException if can't connect
+ throws AssertionException if can't connect
*/
explicit ScopedDbConnection(const std::string& host, double socketTimeout = 0);
explicit ScopedDbConnection(const ConnectionString& host, double socketTimeout = 0);