Add code to know how to handle exception without throwing error