Different SignatureDeclareThrowsException is in strict exceptions AND type...
A source code analyzer
Brought to you by:
adangel,
juansotuyo
The SignatureDeclareThrowsException rule is declared in both the Strict Exceptions and Type Resolution rule sets. As a result if you want to exclude this rule, you have to know to exclude for both rule sets (it just took me a while to find out why I was still getting violations, and this was the reason).
Not sure why it is named exactly the same thing...the actual classes are different and the newer SignatureDeclareThrowsException rule in Type Resolution adds a IgnoreJUnitCompletely property. Otherwise they seem to do the same thing.
Not sure why the same rule is effectively duplicated, but at the least they probably should not have the exact same name.