Bug 4131 - extract method: missing exception declaration (1GIUPJ3)
Summary: extract method: missing exception declaration (1GIUPJ3)
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dirk Baeumer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 23:06 EDT by Dirk Baeumer CLA
Modified: 2002-01-25 09:40 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Baeumer CLA 2001-10-10 23:06:34 EDT
AK (8/22/2001 10:23:30 AM)
	1. 
	public class A {
	void m() throws Exception{
		/*[*/try{
			for (;;){
			}
		}catch(Exception e){
			throw new Exception();
		}/*]*/
	}
	}

	2. extract from /*[*/ to /*]*/
	3. the new method is missing the exception declaratio  which results in compile error

NOTES:
Comment 1 DJ Houghton CLA 2001-10-29 17:33:30 EST
PRODUCT VERSION:
	0.9

Comment 2 Dirk Baeumer CLA 2002-01-25 09:40:32 EST
Fixed in build > 20020124