1 #ifndef SENS_EXCEPTION_H
2 #define SENS_EXCEPTION_H
13 : std::runtime_error(
toMessage(msg, line, file).c_str())
18 std::string
toMessage(
const std::string& msg,
const int line,
const std::string& file)
21 ss << msg <<
": Exception thrown at line " << line <<
" in " << file << std::endl;
SENSException(SENSType type, const std::string &msg, const int line, const std::string &file)
std::string toMessage(const std::string &msg, const int line, const std::string &file)