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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.5
    • Component/s: Utilities
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: