Sollicitatievraag bij Thales

Given a code sample, what exceptions could possibly be generated?