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

IOExceptions should have error codes, not just text messages

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 1.3.1
    • core-libs
    • generic
    • generic



      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)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: