Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-264

FileUtils.moveFile() JavaDoc should specify FileExistsException thrown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0
    • 2.1
    • Utilities
    • None

    Description

      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.

      Attachments

        Activity

          People

            niallp Niall Pemberton
            maciejb Maciej Biłas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: