Bug 22976 - DCR - warning for unused declarations of thrown exceptions
Summary: DCR - warning for unused declarations of thrown exceptions
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: 3.0 M4   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 3428 37434 40619 41190 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-08-29 09:23 EDT by Adam Kiezun CLA
Modified: 2003-10-08 07:28 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2002-08-29 09:23:21 EDT
if a method declares a thrown expression but it can be statically checked that 
the expression is never thrown, then a warning would be very nice

(i'd be happy to see it even only for non-virtual methods)
Comment 1 Philipe Mulet CLA 2002-11-12 09:19:50 EST
Nice to have
Comment 2 Philipe Mulet CLA 2003-07-23 04:58:55 EDT
*** Bug 40619 has been marked as a duplicate of this bug. ***
Comment 3 Philipe Mulet CLA 2003-07-23 04:59:34 EDT
Ok, resurrecting for consideration for 3.0 (no commitment).
Comment 4 Philipe Mulet CLA 2003-08-26 08:57:39 EDT
*** Bug 41190 has been marked as a duplicate of this bug. ***
Comment 5 Philipe Mulet CLA 2003-08-27 07:07:01 EDT
*** Bug 37434 has been marked as a duplicate of this bug. ***
Comment 6 Philipe Mulet CLA 2003-08-27 10:41:10 EDT
Added support for this new optional diagnosis. Will be in M4.
Comment 7 Philipe Mulet CLA 2003-08-28 12:27:10 EDT
*** Bug 3428 has been marked as a duplicate of this bug. ***
Comment 8 David Audel CLA 2003-10-08 07:28:56 EDT
Verified.