Pregunta de entrevista de Amazon

Write a try/catch block for a function.