C0103 fixes 1

this part contains the changes on local variables
I suggest using `exc` everywhere for the variable that binds the exception.