34 #include <boost/exception/all.hpp>
35 #include <boost/current_function.hpp>
36 #include <boost/throw_exception.hpp>
37 #include <boost/config.hpp>
76 invalid_data() : std::runtime_error(
"Code_TYMPAN invalid data encountered"){};
77 invalid_data(
const std::string& desc) : std::runtime_error(desc){};
91 #define tympan_source_loc \
92 ::boost::throw_function(BOOST_CURRENT_FUNCTION) \
93 << ::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)