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

Remove "(a runtime exception)" from javadoc for unchecked exceptions in java.desktop

XMLWordPrintable

      Several methods have a unnecessary note "(a runtime exception)" when the conditions for throwing an unchecked exception are described:

      JApplet.setContentPane:
           * @throws java.awt.IllegalComponentStateException (a runtime
           * exception) if the content pane parameter is null

      JRootPane.setContentPane
           * @throws java.awt.IllegalComponentStateException (a runtime
           * exception) if the content pane parameter is <code>null</code>

      And other methods too.

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

              Created:
              Updated: