Deloitte interview question

how to handle exception