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

DefaultFileItem should not catch Exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: