[Exception] Add $code and $previous arguments
[Exception] CS and phpdoc fixed