| 103 | }; |
| 104 | |
| 105 | class file_exists : public file_io_error { // #nocov start |
| 106 | public: |
| 107 | file_exists(const std::string& file) throw() : |
| 108 | file_io_error("file already exists", file) {} // #nocov end |
| 109 | }; |
| 110 | |
| 111 | // Variadic / code generated version of the warning and stop functions |
| 112 | // can be found within the respective C++11 or C++98 exceptions.h |