14 #ifndef __CODAC_EXCEPTION_H__ 15 #define __CODAC_EXCEPTION_H__ 17 #if __STDC_VERSION__ < 199901L 19 # define __func__ __FUNCTION__ 21 # define __func__ "<unknown>" 46 Exception(
const std::string& function_name,
const std::string& custom_message);
58 virtual const char*
what()
const throw();
62 std::string m_what_msg;
65 std::ostream& operator<<(std::ostream& os,
const Exception& e);
FixPoint of a separator The fixpoint of a separator is computed by calling the "::"separate function ...
Definition: codac_capd_helpers.h:9
~Exception()
Exception destructor.
Definition: codac_Exception.h:51
Root class of all exceptions raised by Codac.
Definition: codac_Exception.h:36
virtual const char * what() const
Returns the exception message.
Exception(const std::string &function_name, const std::string &custom_message)
Creates an std::exception related to a C++ function and some custom error message.