Don't show stack traces for known exception types

refs #6070