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 - ALT+Enter/ hints: overridden methods: "Add throws clause.." support
Summary: ALT+Enter/ hints: overridden methods: "Add throws clause.." support
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 4 votes (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-19 18:28 UTC by puce
Modified: 2013-09-02 14:24 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!