| 8 | #include "Processor/OnlineOptions.h" |
| 9 | |
| 10 | void exit_error(const string& message) |
| 11 | { |
| 12 | if (OnlineOptions::singleton.has_option("throw_exceptions")) |
| 13 | throw runtime_error(message); |
| 14 | |
| 15 | cerr << message << endl; |
| 16 | exit(1); |
| 17 | } |
| 18 | |
| 19 | IO_Error::IO_Error(const string& m) : |
| 20 | ans(m) |
no test coverage detected