Commons IO
  1. Commons IO
  2. IO-264

FileUtils.moveFile() JavaDoc should specify FileExistsException thrown

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: Utilities
    • Labels:
      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.

        Activity

          People

          • Assignee:
            Niall Pemberton
            Reporter:
            Maciej Biłas
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development