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

PrintWriter.write() docs say they throw exceptions; class summ says they DON'T

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.3.0
    • docs
    • beta
    • generic
    • generic



      Name: krT82822 Date: 02/10/2000


      Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification
      at
      http://java.sun.com/products/jdk/1.2/docs/api/java/io/PrintWriter.html#write(char[],int, int)

      At the top of the documentation page for PrintWriter it is (correctly) stated
      that none of the member methods throw I/O Exceptions. However, all the write
      methods are (incorrectly) documented indvidually as throwing an IOException if
      an I/O error occurs.

      2/10/2000 eval1127@eng -- still true as of the kestrel-rc1 docs:

      http://java.sun.com/products/jdk/1.3/docs/api/java/io/PrintWriter.html#write(int)
      (Review ID: 101074)
      ======================================================================

            asommere Alan Sommerer (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: