Community
Participate
Working Groups
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.
dup of bug 22976
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 ***