Infosys interview question

Exception handling , exception type related