Alior Bank interview question

Exceptions