This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 170669

Summary: ALT+Enter/ hints: overridden methods: "Add throws clause.." support
Product: java Reporter: puce <puce>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description puce 2009-08-19 18:28:29 UTC
When a method call inside a overridden method throws a checked exception, which is not listed by the declaring
superclass/ interface, ALT+Enter/ hints (the little yellow light bulb in the left side vertical gutter) only provide
"Surround..." solutions. If the source of the declaring superclass/ interface is available and editable, also an "Add
throws clause.." should be listed in the solution pop-up.

See the related enhancement request to change the declaring method:
http://www.netbeans.org/issues/show_bug.cgi?id=170668

See Eclipse!