Update exceptions.md

Refactoring