[
https://issues.apache.org/jira/browse/NETBEANS-5950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated NETBEANS-5950:
-------------------------------------
Labels: pull-request-available (was: )
> 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: 10m
> 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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists