Deloitte Interview Question

how to handle exception