Community
Participate
Working Groups
Currently it is possible to surround code with a try/catch, but there is no facility to surrond with a try/finally. If the highlighted code does not throw checked exceptions, then a dialog pops up to allow the user to chose whetehr to catch a RuntimeException. There should a a new menu item, or a way in the dialog to choose to do a try/finally instead.
This can be done using templates. See comments in bug 15374. *** This bug has been marked as a duplicate of 15374 ***