garydgregory commented on issue #111: [IO-661] FileUtils throws inconsistent exceptions URL: https://github.com/apache/commons-io/pull/111#issuecomment-614772094 IMO, the guideline should be: - Use `Objects.requireNonNull()` for arg null-checks - Use `IllegalArgumentException` for arg other-than-null checks - Use `IOException` for things that need to be checked or are really IO issues.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
