Fixed Exception was created with wrong constructor call
Merge pull request #469 from mpscholten/exception-bug

Fixed Exception was created with wrong constructor call