diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2018-07-21 22:03:31 +0200 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2018-07-21 22:03:31 +0200 |
commit | f0b6d1b9c46578183b427bcec4bbe99ab10c7b97 (patch) | |
tree | 111df40d4485f7dc7a66d0d463688021474512c1 /competition/error.h | |
parent | 53291958e0cda68ed762c0dfb36c0602f876c06d (diff) |
competition: reorganisation and multithread
Diffstat (limited to 'competition/error.h')
-rw-r--r-- | competition/error.h | 12 |
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); +}; |