add exception listener. refs #1789
Merge pull request #2047 from craigh/exceptionhandler

add exception listener. refs #1789