Exception when no valid codec is found for a file
| 176 | |
| 177 | /// Exception when no valid codec is found for a file |
| 178 | class InvalidCodec : public FileExceptionBase |
| 179 | { |
| 180 | public: |
| 181 | /** |
| 182 | * @brief Constructor |
| 183 | * |
| 184 | * @param message A message to accompany the exception |
| 185 | * @param file_path (optional) The input file being processed |
| 186 | */ |
| 187 | InvalidCodec(std::string message, std::string file_path="") |
| 188 | : FileExceptionBase(message, file_path) { } |
| 189 | virtual ~InvalidCodec() noexcept {} |
| 190 | }; |
| 191 | |
| 192 | /// Exception for files that can not be found or opened |
| 193 | class InvalidFile : public FileExceptionBase |
no outgoing calls
no test coverage detected