You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Maciej Biłas (JIRA)" <ji...@apache.org> on 2011/03/12 02:02:59 UTC

[jira] Commented: (IO-264) FileUtils.moveFile() JavaDoc should specify FileExistsException thrown

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

Maciej Biłas commented on IO-264:
---------------------------------

Thanks!

> FileUtils.moveFile() JavaDoc should specify FileExistsException thrown
> ----------------------------------------------------------------------
>
>                 Key: IO-264
>                 URL: https://issues.apache.org/jira/browse/IO-264
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.0
>            Reporter: Maciej Biłas
>            Assignee: Niall Pemberton
>            Priority: Trivial
>             Fix For: 2.1
>
>
> FileUtils.moveFile() JavaDoc does specify the behaviour of the method in a case when the destFile exists. It would be helpful to know from the JavaDoc that in such case an exception is thrown as it's not immediately obvious.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira