You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Brad Walker (Jira)" <ji...@apache.org> on 2021/08/26 14:05:00 UTC

[jira] [Closed] (NETBEANS-5950) cleanup warnings related to unreachable exception catches

     [ 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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