Fixed bug on 'raise exc'

At line 572: raise exc() has to be raise exc since exc is an instance not a class
Merge pull request #2285 from silverfix/patch-1

Fixed bug on 'raise exc'