[ https://issues.apache.org/jira/browse/NETBEANS-5950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brad Walker closed NETBEANS-5950. --------------------------------- Resolution: Fixed fixed and integrated.. > cleanup warnings related to unreachable exception catches > --------------------------------------------------------- > > Key: NETBEANS-5950 > URL: https://issues.apache.org/jira/browse/NETBEANS-5950 > Project: NetBeans > Issue Type: Improvement > Reporter: Brad Walker > Assignee: Brad Walker > Priority: Minor > Labels: pull-request-available > Fix For: 12.6 > > Time Spent: 50m > Remaining Estimate: 0h > > The java compiler knows explicitly what exceptions are thrown when compiling > code. > This change removes all the warnings related to "{code:java}warning: > unreachable catch clause{code}" > For example: > {code:java} > [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 > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists