IBM interview question

Exception handling