Bug 40619 - Configuration compiler warning for invalid thrown Exceptions
Summary: Configuration compiler warning for invalid thrown Exceptions
Status: RESOLVED DUPLICATE of bug 22976
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-22 15:21 EDT by Jeremy CLA
Modified: 2003-07-23 04:58 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy CLA 2003-07-22 15:21:02 EDT
I find that through my refactoring I'll modify what Exceptions I am throwing 
pretty often. Afterwards, I'll spend weeks finding areas where an exception is 
required to be handled, but no longer actually thrown.  I'd like to see this 
as as some sort of compiler option to check for these instances, if it is 
possible to check for.
Comment 1 Adam Kiezun CLA 2003-07-23 04:49:50 EDT
dup of bug 22976
Comment 2 Philipe Mulet CLA 2003-07-23 04:58:55 EDT
Indeed, this would be a valuable addition to the set of optional warnings. But 
like unused arguments, there are cases where unused exceptions are quite 
informative...

Will see how it goes for 3.0.

*** This bug has been marked as a duplicate of 22976 ***