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 da8e574 commit fbd3ce3Copy full SHA for fbd3ce3
src/main/java/com/marklogic/client/io/ReaderHandle.java
100644
100755
@@ -224,7 +224,7 @@ public void write(OutputStream out) throws IOException {
224
byteBuf.clear();
225
CoderResult result = encoder.encode(charBuf, byteBuf, false);
226
if (result.isError()) {
227
- throw new IOException(result.toString());
+ throw new IOException("Failed during UTF-8 encoding - " + result.toString());
228
}
229
byteBuf.flip();
230
out.write(buf, 0, byteBuf.limit());
0 commit comments