Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4864950

IOExceptions should have error codes, not just text messages

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P5
    • Resolution: Duplicate
    • Affects Version/s: 1.3.1
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description



      Name: pa48320 Date: 05/15/2003


      when an IOException gets thrown, say by a class in the java.io package, the only way to tell exactly what happened is by parsing the exception message, but this does not work in international environments. a language-independent error code should be returned so that for example a "File locked" IOException could be determined to be such.
      (Review ID: 185894)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              pallenba Peter Allenbach (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: