Bug 18137 No uncaught exception are thrown by selected code. - .. But there is an uncaught IOExcption
eclipse build=20020521 Consider code 1 public Object foo(String name) 2 { 3 Object a; 4 a = super.createFilmType(name, false); 5 return a; 6 } *** Line 4 throws an IOException. So I select that line and select contextmenu source\surround with try ... I get a message "No uncaught exceptions are thrown..Catch java.lang RunTimeExc?" This is incorrect!
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
*/
	public void fillActionBars(IActionBars actionBar) {
		super.fillActionBars(actionBar);
		setGlobalActionHandlers(actionBar);
	}
	
	/* (non-Javadoc)
	 * Method declared in ActionGroup
	 */
	public void fillContextMenu(IMenuManager menu) {
		super.fillContextMenu(menu);
		if (fEditorIsOwner) {
			IMenuManager subMenu= createEditorSubMenu(menu);
			if (subMenu != null)
				menu.appendToGroup(fGroupName, subMenu);
		} else {
			appendToGroup(menu, fOrganizeImports);
			appendToGroup(menu, fOverrideMethods);
			appendToGroup(menu, fAddGetterSetter);
			appendToGroup(menu, fAddUnimplementedConstructors);
			appendToGroup(menu, fAddJavaDocStub);
			appendToGroup(menu, fAddBookmark);
		}
	}
	
	private IMenuManager createEditorSubMenu(IMenuManager mainMenu) {
		IMenuManager result= new MenuManager(ActionMessages.getString("SourceMenu.label")); 
		int added= 0;
		added+= addAction(result, fAddImport);
		added+= addAction(result, fOrganizeImports);