Exception for files that can not be found or opened
| 191 | |
| 192 | /// Exception for files that can not be found or opened |
| 193 | class InvalidFile : public FileExceptionBase |
| 194 | { |
| 195 | public: |
| 196 | /** |
| 197 | * @brief Constructor |
| 198 | * |
| 199 | * @param message A message to accompany the exception |
| 200 | * @param file_path The input file being processed |
| 201 | */ |
| 202 | InvalidFile(std::string message, std::string file_path) |
| 203 | : FileExceptionBase(message, file_path) { } |
| 204 | virtual ~InvalidFile() noexcept {} |
| 205 | }; |
| 206 | |
| 207 | /// Exception when no valid format is found for a file |
| 208 | class InvalidFormat : public FileExceptionBase |
no outgoing calls
no test coverage detected