refactoring : catch clauses were changed