Mphasis interview question

how to handle exception