Skip to content

Commit

Permalink
#307, update DRE bug message do emphasis javadoc for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mebigfatguy committed Dec 3, 2023
1 parent a73b33e commit 87998b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions etc/messages.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1980,8 +1980,9 @@ private void appendToList(List<String> list) {
<![CDATA[
<p>This method declares a RuntimeException derived class in its throws clause.
This may indicate a misunderstanding as to how unchecked exceptions are handled.
If it is felt that a RuntimeException is so prevalent that it should be declared, it
is probably a better idea to prevent the occurrence in code.</p>
If it is felt that a RuntimeException is so prevalent that it should be declared for
documentation purposes, using javadoc's @throws clause is a better idea, as it doesn't
needless pollute the method signature,</p>
]]>
</Details>
</BugPattern>
Expand Down

0 comments on commit 87998b5

Please sign in to comment.