| 158 | } |
| 159 | |
| 160 | FileNotFound::FileNotFound(const char* file, int line, const char* function, const std::string& filename) noexcept : |
| 161 | BaseException(file, line, function, "FileNotFound", "the file '" + filename + "' could not be found") |
| 162 | { |
| 163 | GlobalExceptionHandler::getInstance().setMessage(what()); |
| 164 | } |
| 165 | |
| 166 | FileNotReadable::FileNotReadable(const char* file, int line, const char* function, const std::string& filename) noexcept : |
| 167 | BaseException(file, line, function, "FileNotReadable", "the file '" + filename + "' is not readable for the current user") |
nothing calls this directly
no test coverage detected