19 #include <boost/exception/all.hpp>
20 #include <boost/current_function.hpp>
21 #include <boost/throw_exception.hpp>
22 #include <boost/config.hpp>
61 invalid_data() : std::runtime_error(
"Code_TYMPAN invalid data encountered"){};
62 invalid_data(
const std::string& desc) : std::runtime_error(desc){};
76 #define tympan_source_loc \
77 ::boost::throw_function(BOOST_CURRENT_FUNCTION) \
78 << ::boost::throw_file(__FILE__) << ::boost::throw_line((int)__LINE__)
std::string tympan_to_string(const T &o)
The base exception class for all exceptions specific to Code_TYMPAN.
The base exception class for errors due to invalid data.
invalid_data(const std::string &desc)
The base exception class for internal logic / algorithmic errors.
logic_error(const std::string &desc)