Fix exception parameters
Merge pull request #1 from rmbl/master

Fix exception parameters