[ 
https://issues.apache.org/jira/browse/IO-851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17832224#comment-17832224
 ] 

Sebb commented on IO-851:
-------------------------

That's IllegalArgumentException, not IllegalStateException.

I just did a search for IllegalStateException and it only appears in Javadoc.

> FileSystemUtils no longer throws IllegalStateException
> ------------------------------------------------------
>
>                 Key: IO-851
>                 URL: https://issues.apache.org/jira/browse/IO-851
>             Project: Commons IO
>          Issue Type: Bug
>            Reporter: Sebb
>            Priority: Minor
>
> The recent change to use NIO means that the code no longer throws 
> IllegalStateException, contrary to the Javadoc:
> https://github.com/apache/commons-io/commit/59129bcf283ffa5a46d0872e173a4e037575c581



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to