Kalpesh

Added try catch block