Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 41190

Summary: allow warning for methods claiming to throw exceptions they can't
Product: [Eclipse Project] JDT Reporter: James Manning <jmm>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.1   
Target Milestone: 3.0 M4   
Hardware: All   
OS: All   
Whiteboard:

Description James Manning CLA 2003-08-06 08:40:25 EDT
It would be nice to allow a compiler flag so that exceptions claiming to throw 
exceptions that they never can are flagged.  When a method gets cleaned up, 
it's easy to forget to clean up the throws clause if it wasn't obvious which 
lines from the method would causing the various exceptions.
Comment 1 Adam Kiezun CLA 2003-08-22 08:48:48 EDT
*** Bug 41853 has been marked as a duplicate of this bug. ***
Comment 2 Philipe Mulet CLA 2003-08-26 08:56:45 EDT

*** This bug has been marked as a duplicate of 22979 ***
Comment 3 Philipe Mulet CLA 2003-08-26 08:57:22 EDT
Wrong dup
Comment 4 Philipe Mulet CLA 2003-08-26 08:57:38 EDT

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