PrintWriter documentation error: write() methods don't throw IOException

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 3.1.1, 1.3.0
    • Component/s: docs
    • generic, sparc
    • generic, solaris_2.6



      Name: rlT66838 Date: 02/28/2000


      > java -version
      java version "1.3.0rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
      Java HotSpot(TM) Client VM (build 1.3.0rc1-S, interpreted mode)


      The PrintWriter class doc in the JDK doc download states that the three
      overloaded write() methods:
        write(int c)
        write(char[] buf,int start,int end)
        write(String str,int start,int end)

      all throw IOException - but of course they don't.
      (Review ID: 101790)
      ======================================================================

            Assignee:
            Scott Hommel (Inactive)
            Reporter:
            Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: