You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2021/08/26 13:57:31 UTC

[GitHub] [netbeans] BradWalker commented on pull request #3126: [NETBEANS-5950] - cleanup warnings related to unreachable exception catches

BradWalker commented on pull request #3126:
URL: https://github.com/apache/netbeans/pull/3126#issuecomment-906437766


   The java compiler knows explicitly what exceptions are thrown when compiling code.
   
   This change removes all the warnings related to "warning: unreachable catch clause"
   
   For example:
   
   [repeat] /home/bwalker/src/netbeans/enterprise/web.struts/src/org/netbeans/modules/web/struts/StrutsConfigDataObject.java:297: warning: unreachable catch clause
   [repeat] } catch(SAXException ex) {
   [repeat] ^
   [repeat] thrown type SAXParseException has already been caught


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists