Fixed bug on 'raise exc'

At line 572: raise exc() has to be raise exc since exc is an instance not a class