Fix exception
Error: Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]])
Merge pull request #269 from ajohnstone/master

Incorrect definition for exception