Add -c option for printing exception class names.

Fixes issue #17.