Uploaded image for project: 'Commons FileUpload'
  1. Commons FileUpload
  2. FILEUPLOAD-70

DefaultFileItem should not catch Exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • Operating System: other
      Platform: Other

    • 18265

    Description

      There are several places in DefaultFileItem that catch Exception instead of the
      specific exceptions thrown by the surrounded code. A better approach would be
      to catch the specific exceptions (which I suspect will be IOException).

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--Patch.txt
          4 kB
          Mohan Kishore
        2. ASF.LICENSE.NOT.GRANTED--Patch.txt
          3 kB
          Mohan Kishore

        Activity

          People

            Unassigned Unassigned
            dgraham@apache.org David Graham
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: