Community
Participate
Working Groups
from Dave Dykstal: Is there a way the compiler can check the throws clause for checked exceptions that can't be delivered by the method? Right now I can do this: public void blort() throws BlortException { rawBlort(5); } public void rawBlort(int n) { } even if BlortException is not be thrown by the method body. Does this make sense? Is there a case where something like this would be useful? A diagnostic would be very helpful in cleaning up code after exception classes have been refactored. NOTES: PM (10/1/2001 6:21:00 PM) An optional warning would be indicated, but could be annoying in general.
Nice to have
PRODUCT VERSION: SDK 202
Reopening
Clearing resolution
Nice to have, but not for 2.1
Addressed for 3.0M4.
*** This bug has been marked as a duplicate of 22976 ***