diff --git a/src/CSVReader/CSVReader.cpp b/src/CSVReader/CSVReader.cpp index 2fcc100454ddfe375dd06e53c38231b8082eda1d..11e82a0e868bb2c6751f1cbc29fe6840688c975f 100644 --- a/src/CSVReader/CSVReader.cpp +++ b/src/CSVReader/CSVReader.cpp @@ -12,7 +12,7 @@ namespace lib4neuro { CSVReader::CSVReader(std::string file_path, std::string delimiter, bool ignore_first_line) { if(!std::filesystem::exists(file_path)) { - throw std::runtime_error("The specified file path does not exist!"); + throw lib4neuro::FileNotFoundException("The specified file path in CSVReader does not exist!"); } this->file_path = file_path;