Summary: | [surround with try/catch] Surround with try/catch isn't nestable. | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Brian Miller <bmiller> |
Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
Status: | ASSIGNED --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P4 | ||
Version: | 3.2 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Brian Miller
2005-08-18 13:04:18 EDT
The reason is that the ClassNotFoundException is already catched by catch (Throwable crash). The was a long discussion whether surround with should always catch "all" exceptions or only those not catch by an outer block or propagated by the method. Honoring both scenarios will require new UI. Simply changing it will definitelly cause PRs complaining about the new behaviour. |