Boris Unckel created IO-710:
-------------------------------

             Summary: Utilize java.io.UncheckedIOException, rethrow 
SecurityException
                 Key: IO-710
                 URL: https://issues.apache.org/jira/browse/IO-710
             Project: Commons IO
          Issue Type: Improvement
          Components: Utilities
    Affects Versions: 2.8.0
            Reporter: Boris Unckel


Some methods catch IOExceptions and rethrow them in other RuntimeException 
based exceptions (IllegalStateException, IllegalArgumentException).

The JRE offers a standard for this usecase: java.io.UncheckedIOException

In one case a SecurityException would be hidden. This is awfull if you're 
trying to find the right set of permissions to make the SecurityManager work. 
The default must be to rethrow them.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to