Siemens interview question

exception handling