use eoExceptions everywhere

This commit is contained in:
Johann Dreo 2020-03-27 00:21:52 +01:00
commit eba2e14950
127 changed files with 524 additions and 418 deletions

View file

@ -105,8 +105,8 @@ protected:
}
#ifndef NDEBUG
if ( !_of.is_open() ) {
std::string str = "Error, eoEvalDump could not open: " + _filename;
throw std::runtime_error( str );
// std::string str = "Error, eoEvalDump could not open: " + _filename;
throw eoFileError( _filename );
}
#endif
// here, in release mode, we assume that the file could be opened