Goldman Sachs interview question

Exception handling questions.