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 12059 - [Synchronization] Code synch prompts to change unchecked exceptions
Summary: [Synchronization] Code synch prompts to change unchecked exceptions
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-05-09 18:50 UTC by Jesse Glick
Modified: 2007-09-26 09:14 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 Jesse Glick 2001-05-09 18:50:03 UTC
[3.2] Code synch: asks to change set of declared unchecked exceptions
on a method, which may not be desirable. For example, had a template
for WizardDescriptor.Iterator. Method nextPanel() (e.g.) can throw
NoSuchElementException. The interface does not explicitly list this in
its throws clause, but does document that it may be thrown. The
template which implemented this interface listed NSEE in its throws
clauses. After creating from template, the synchronization dialog
appears asking the user to remove the declared throwable, which makes
no sense because it is harmless and maybe informative.
Comment 1 Svata Dedic 2001-05-21 12:25:26 UTC
Changing to an enhancement - the code synchronization should be made more 
configurable (including such case) in the 3.3 version.
Comment 2 Jan Chalupa 2001-11-27 12:50:05 UTC
Target milestone -> 3.3.1.
Comment 3 Svata Dedic 2002-05-21 17:49:41 UTC
Cleaning up before 4.0 planning
Comment 4 Marek Grummich 2002-07-19 17:16:49 UTC
Target milestone was changed from not determined to TBD
Comment 5 Martin Matula 2004-11-15 09:48:59 UTC
The Synchronize action no longer gets confused by unchecked exceptions.