Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/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
6.x
All All
: P3 with 4 votes (vote)
: TBD
Assigned To: Svata Dedic
issues@java
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-19 18:28 UTC by puce
Modified: 2013-09-02 14:24 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


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!


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