1 #ifndef _GLUCAT_ERRORS_H 2 #define _GLUCAT_ERRORS_H 45 : logic_error(msg),
name(context)
49 virtual const std::string
heading()
const throw() =0;
50 virtual const std::string
classname()
const throw() =0;
56 template<
class Class_T >
60 error(
const std::string& msg);
61 error(
const std::string& context,
const std::string& msg);
62 virtual const std::string
heading()
const throw();
63 virtual const std::string
classname()
const throw();
67 #endif // _GLUCAT_ERRORS_H virtual void print_error_msg() const =0
virtual const std::string heading() const =0
virtual const std::string classname() const =0
Abstract exception class.
Specific exception class.
glucat_error(const std::string &context, const std::string &msg)