fix exception declaration
Merge pull request #12 from cassej/master

fix exception declaration