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

Missing information in IllegalArgumentException thrown by org.apache.commons.io.FileUtils#validateListFilesParameters

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.4
    • 2.5
    • Utilities
    • None
    • N/A

    Description

      When you pass an invalid directory to org.apache.commons.io.FileUtils#validateListFilesParameters, the IllegalArgumentException thrown is missing information for easily debug the problem. My suggestion is the value of the path to the message of the exception.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            plcstpierre Pier-Luc Caron St-Pierre
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment