Skip to content

Commit 89acedc

Browse files
author
ehennum
committed
improved wording #970
1 parent f345dce commit 89acedc

File tree

1 file changed

+1
-1
lines changed
  • marklogic-client-api/src/main/java/com/marklogic/client/impl

1 file changed

+1
-1
lines changed

marklogic-client-api/src/main/java/com/marklogic/client/impl/BaseProxy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public BaseProxy(DatabaseClient db, String endpointDir) {
6666
if (db == null) {
6767
throw new IllegalArgumentException("Cannot connect with null database client");
6868
} else if (db.getDatabase() != null) {
69-
throw new IllegalArgumentException("Client must use the default database instead of: "+db.getDatabase());
69+
throw new IllegalArgumentException("Client cannot specify a database - specified: "+db.getDatabase());
7070
}
7171
if (endpointDir == null || endpointDir.length() == 0) {
7272
throw new IllegalArgumentException("Cannot make requests with null or empty endpoint directory");

0 commit comments

Comments
 (0)