HTMLEditorKit.read and insertHTML specify RuntimeException

XMLWordPrintable

      The two methods in HTMLEditorKit: read and insertHTML specify RuntimeException is thrown:

           * @throws RuntimeException (will eventually be a BadLocationException)
           * if pos is invalid

      This is confusing.

      BadLocationException is a checked exception and it's also documented.

            Assignee:
            Alexey Ivanov
            Reporter:
            Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: