Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 170669 - ALT+Enter/ hints: overridden methods: "Add throws clause.." support
ALT+Enter/ hints: overridden methods: "Add throws clause.." support
Status: NEW
Product: java
Classification: Unclassified
Component: Hints
All All
: P3 with 4 votes (vote)
Assigned To: Svata Dedic
Depends on:
  Show dependency treegraph
Reported: 2009-08-19 18:28 UTC by puce
Modified: 2013-09-02 14:24 UTC (History)
0 users

See Also:


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!

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo