removed unused variable
catch all exceptions but raise the proper ones