summaryrefslogtreecommitdiff
path: root/competition/error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'competition/error.cpp')
-rw-r--r--competition/error.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/competition/error.cpp b/competition/error.cpp
new file mode 100644
index 0000000..4c737c2
--- /dev/null
+++ b/competition/error.cpp
@@ -0,0 +1,9 @@
+#include "error.h"
+
+
+StopCompetitionError::StopCompetitionError()
+ : runtime_error("StopCompetitionError") {}
+StopCompetitionError::StopCompetitionError(const string &what_arg)
+ : runtime_error(what_arg) {}
+StopCompetitionError::StopCompetitionError(const char *what_arg)
+ : runtime_error(what_arg) {}