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

(fmt) {Print{Writer,Stream},StringWriter}.append should not throw IOException

XMLWordPrintable

    • b49
    • generic
    • generic

      Print{Writer,Stream}.append and StringWriter.append currently throw IOException.
      This is inconsistent with IOException handling for the existing write/print methods in those classes. The append methods in these cases should be
      overridden to omit mention of the IOException.

      Writer.append(char) and Writer.append(CharSequence) are missing @throws
      for the IOException.

      -- iag@sfbay 2004-04-12

      CharArrayWriter.append() also inappropriately throw IOException.

      -- iag@sfbay 2004-04-15

            iris Iris Clark
            iris Iris Clark
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: