Bug 22099

Summary: AutoCorrect does not add throws clause properly [quick fix]
Product: [Eclipse Project] JDT Reporter: Antonio D'souza <eclipse>
Component: UIAssignee: Martin Aeschlimann <martinae>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: dirk_baeumer
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Antonio D'souza CLA 2002-08-01 09:28:03 EDT
What happens:

You have a method containing code that could throw an error but the error is not
being accounted for so there is a red line under the guilty code.
You invoke the autocorrecter by hitting ctrl+1 and selecting "Add exception to
throws clause".
The method now gets the throws clause inserted between the method name & the arg
list, instead of after the arg list.
Comment 1 Olivier Thomann CLA 2002-08-01 12:02:41 EDT
I think this should be fixed with the changes made by Martin after the fix for
bug 21768. Did you try with a 0730 build?
It should be fixed. Please annotate this PR after checking with 0730.
Comment 2 Philipe Mulet CLA 2002-08-02 10:14:50 EDT
Anyway, this belongs to jdt/ui
Comment 3 Dirk Baeumer CLA 2002-08-05 08:11:38 EDT
Martin, is this covered by the fixes attached to bug 21768
Comment 4 Dirk Baeumer CLA 2002-08-06 05:53:13 EDT

*** This bug has been marked as a duplicate of 22196 ***