Catching Exception whicle converting object to string.