Commons IO
  1. Commons IO
  2. IO-348

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial 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.

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

        Activity

        Hide
        Gary Gregory added a comment -

        Committed revision 1395139.

        Show
        Gary Gregory added a comment - Committed revision 1395139.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development