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
Depends on:
Reported: 2009-08-19 18:28 UTC by puce
Modified: 2013-09-02 14:24 UTC (History)
0 users

See Also:
Exception Reporter:


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:

See Eclipse!