Summary: | [extract method] allow changing the type of a parameters | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Thorsten Schäfer <Uni> |
Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
Status: | ASSIGNED --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | mn |
Version: | 3.0 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Thorsten Schäfer
2003-09-24 05:37:09 EDT
This isn't so easy since a super class might not be suficient API wise. I just saw this functionality elsewere: If you make a method call and the used method throws for example an IOException and you don't throw an exception in the caller method or have a try-catch statement. Then you can use quickfix to add a try-catch or to make the caller method throw the exception. If you select the second alternative, in M3 there will be added an IOException but you can also select to throw an Exception or Throwable. Probably this code can be reused for this issue. |