[ 
https://issues.apache.org/jira/browse/IO-710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Boris Unckel closed IO-710.
---------------------------
    Resolution: Won't Fix

> 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
>            Priority: Major
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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