Removed unused variable declarations on catches