Community
Participate
Working Groups
If you have a piece of code like this: try{ doSomething(); doSomethingElse(); }catch(Exception e){...} where doSomething and doSomethingElse declares some exceptions, "Source>Surround with try/catch" will not add catch clauses to the existing try/catch.
You can do this using quick fix. It provides a fix add a catch block to an existing try statement.
No. QuickFixes are only available if the exception is not caught. In the example it is caught by catching the mother-of-all-exceptions.
You are correct !
This is more a quick assist feature then a refactoring. Currently no action planned for 3.0 until we get external help.
Reopening...
This got fix a long time ago...
Reopening... (worng bug)
.
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.