garydgregory commented on a change in pull request #295:
URL: https://github.com/apache/commons-io/pull/295#discussion_r795216962
##########
File path:
src/main/java/org/apache/commons/io/output/FileWriterWithEncoding.java
##########
@@ -81,20 +94,46 @@ private static Writer initWriter(final File file, final
Object encoding, final b
if (!fileExistedAlready) {
FileUtils.deleteQuietly(file);
}
- throw ex;
+ if (ex instanceof UnsupportedCharsetException) {
+ throw new IOException(ex);
Review comment:
Closing, no reply since November of last year.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]