Times Internet interview question

Why try catch clause is used