[FEATURE] Adds dox documentation entry for thrown exceptions.

Adds new dox entry for documenting thrown exceptions.