From 87998b5b84c229ca02afd020e3fce451835d73fb Mon Sep 17 00:00:00 2001 From: Dave Brosius Date: Sat, 2 Dec 2023 22:01:18 -0500 Subject: [PATCH] #307, update DRE bug message do emphasis javadoc for documentation --- etc/messages.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/etc/messages.xml b/etc/messages.xml index 5cf2848e..d1898ae6 100755 --- a/etc/messages.xml +++ b/etc/messages.xml @@ -1980,8 +1980,9 @@ private void appendToList(List<String> list) { 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.

+ 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,

]]>