Fix example for exception/1
Merge pull request #2317 from vicmargar/fix-exception-doc

Fix doc example for exception/1