Added ability to verify exceptions at the point they happen.