Adds some documentation related to exceptions.
Merge pull request #312 from gradha/pr_adds_some_docs_about_exceptions

Adds some documentation related to exceptions.