IBS Software interview question

exception handling