refs #117 . change exception type.