Subclasses of a declared exception may be documented
to describe the exact types of exceptions that may be
thrown. For example, a method may declare that it
throws IOException, and in the API documentation, it
may have javadoc for FileNotFoundException in addition
to the IOException. FileNotFoundException is reported
as an unused exception.
Any exception that is a subclass of a documented
exception should not be reported as an Unused
[note: reporting against release 2.1, but there isn't
a 2.1 group]
Log in to post a comment.