diff --git a/OOP_zadanie2/UserInteraction.h b/OOP_zadanie2/UserInteraction.h index 93dd50d..20ee478 100644 --- a/OOP_zadanie2/UserInteraction.h +++ b/OOP_zadanie2/UserInteraction.h @@ -66,7 +66,7 @@ private: triangleSideValueList.push_back(tmp); return true; } - throw exception("Triangle side must be positive number.\n"); + throw runtime_error("Triangle side must be positive number.\n"); } catch (const std::exception& e)