HttpURLConnection throws a FileNotFound exception if the resultcode is >= 400

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.2.0
    • Component/s: core-libs
    • generic
    • generic



      Name: jn10789 Date: 11/18/98


      This makes it impossible to figure out the result code if the error is 400 or greater.
      It should only throw FileNotFound if the error is 404, and then it is questionable if
      getResponseCode should throw an exception if there is a responseCode available.
      (Review ID: 39191)
      ======================================================================

            Assignee:
            Sharon Liu (Inactive)
            Reporter:
            Jeffrey Nisewanger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: