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

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

    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

        1. IO-348.patch
          0.8 kB
          Pier-Luc Caron St-Pierre

        Activity

          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: