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 0cb750c commit 9bd82b9Copy full SHA for 9bd82b9
driver-embedded/src/main/com/mongodb/embedded/client/MongoClientSettings.java
@@ -120,7 +120,7 @@ public Builder applyConnectionString(final ConnectionString connectionString) {
120
connectionString.getHosts().get(0)));
121
}
122
} else {
123
- throw new MongoClientException(format("Connection String contains invalid hosts: %s", connectionString.getHosts()));
+ throw new MongoClientEmbeddedException(format("Connection String contains invalid hosts: %s", connectionString.getHosts()));
124
125
return this;
126
0 commit comments