Fixed guessing a template info for exceptions
bug #1528 Fixed guessing a template info for exceptions (hason)

This PR was merged into the 1.16-dev branch.

Discussion
----------

Fixed guessing a template info for exceptions

Commits
-------

42cd697 Fixed guessing a template info for exceptions