Skip to content

Commit 2574360

Browse files
committed
Updating the exception message.
1 parent 929fd4b commit 2574360

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3581,7 +3581,7 @@ public <R extends AbstractReadHandle> R postBulkDocuments(
35813581
disposition = DISPOSITION_TYPE_ATTACHMENT + "; " +
35823582
DISPOSITION_PARAM_FILENAME + "*=UTF-8''" + URLEncoder.encode(write.getUri(), "UTF-8") + contentDispositionTemporal;
35833583
} catch (Exception ex) {
3584-
throw new IllegalArgumentException("Uri cannot be accepted");
3584+
throw new IllegalArgumentException("Uri cannot be encoded as UFT-8");
35853585
}
35863586
}
35873587
asciiEncoder.reset();

0 commit comments

Comments
 (0)