If I run PMD from the command-line and mistype a ruleset, e.g. "java-designn" or "java-designn/UseCollectionIsEmpty" instead of "java-design" or "java-design/UseCollectionIsEmpty", it prints out exception data.
If I mistype the rule itself, e.g. "java-design/UsCollectionIsEmpty", however, it simply doesn't use the rule and prints no error message to say that it is being ignored. This is particularly problematic since it can appear as though the report was done and no issues were found, when in fact no issues were found because the rule was not used.
It also does not issue an error message if an excluded rule's name is misspelled in referencing a ruleset. This can, of course, lead to that rule's violations still showing up in the report, so it is indirectly detectable.
For comparison, it does issue an error message (and a much cleaner one than the exception thrown for misspelling a ruleset) if a specific referenced rule is misspelled. I would expect this sort of message in all four of these cases and not just this one.
This will be fixed with the next release.