summaryrefslogtreecommitdiff
path: root/competition/error.h
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2018-07-21 22:03:31 +0200
committerTom Smeding <tom.smeding@gmail.com>2018-07-21 22:03:31 +0200
commitf0b6d1b9c46578183b427bcec4bbe99ab10c7b97 (patch)
tree111df40d4485f7dc7a66d0d463688021474512c1 /competition/error.h
parent53291958e0cda68ed762c0dfb36c0602f876c06d (diff)
competition: reorganisation and multithread
Diffstat (limited to 'competition/error.h')
-rw-r--r--competition/error.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/competition/error.h b/competition/error.h
new file mode 100644
index 0000000..403f81b
--- /dev/null
+++ b/competition/error.h
@@ -0,0 +1,12 @@
+#include <stdexcept>
+#include <string>
+
+using namespace std;
+
+
+class StopCompetitionError : public runtime_error {
+public:
+ StopCompetitionError();
+ explicit StopCompetitionError(const string &what_arg);
+ explicit StopCompetitionError(const char *what_arg);
+};