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

stddoclet: bad warning message about documented exceptions that are undeclared

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P5 P5
    • None
    • 1.4.0
    • tools

      Javadoc prints a warning message when a documented exception (@throws) is not declared in the signature of the method. This shouldn't require a warning because it common for programmers to document exceptions that can possibly thrown but do not check the exception.

      Example: String.charAt() documents that IndexOutOfBoundsException can be thrown but does not declare it in the signature.

            jhosunw Jamie Ho (Inactive)
            jhosunw Jamie Ho (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: