Золотов - Лабораторная работа #2

To throw exception at the constructor is bad behavior. But it was done in the lab 3, so you can leave it as it is