Update defexception usage to new syntax
Merge pull request #100 from scrogson/defexception

Update defexception usage to new syntax