Unnecessary exceptions declaration

This inspection reports exceptions that are declared in a method's signature
but never thrown by the method itself or its implementations/derivatives. Since
this inspection requires global code analysis, it is only available in batch
inspection mode.