You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "aliSadeqi (Jira)" <ji...@apache.org> on 2020/07/18 10:19:00 UTC

[jira] [Created] (NETBEANS-4600) add multi catch support

aliSadeqi created NETBEANS-4600:
-----------------------------------

             Summary: add multi catch support
                 Key: NETBEANS-4600
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4600
             Project: NetBeans
          Issue Type: New Feature
            Reporter: aliSadeqi


I wander if you add multi catch handle exception on netbeans.

I'm sorry I'm very weak to implements things on netbeans source codes.

 

Some of methods throws several exceptions in their signature ,and netbeans just have two options one for add throws declaration ,or catch them (for each one made a new catch block) but on eclipse we have another option called multi catch handle which look likes bellow :

"eclipse"

catch(ex1 | ex2 | ex3 e){

}

 

"the great netbeans"

catch(ex1 e){

 

}catch(ex2 e){

 

}catch(ex3 e){

 

}

 

someone tell me you can catch using Exception but it is not a professional choice

 

the netbeans already supports catch(ex1 | ex2 | ex3 e) but it has not any template for that in yellow lamp



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