38 #ifndef DATRW_EXCEPTION_H_VERSION 40 #define DATRW_EXCEPTION_H_VERSION \ 41 "DATRW_EXCEPTION_H V1.0" 71 const std::string& condition);
74 const std::string& file,
76 const std::string& condition);
79 const std::string& file,
84 virtual void report()
const;
112 #endif // DATRW_EXCEPTION_H_VERSION (includeguard) static void report_on_construct_flag(const bool &flag)
set report on construct flag
static bool report_on_construct_flag()
return report on construct flag
static void dont_report_on_construct()
Issue NO screen report on construction of exception.
static bool Mreport_on_construct
Shall we print to cerr at construction time?
virtual ~Exception()
provide explicit virtual destructor
const int & Mline
pointer to line number in source file
Exception()
Creates exception with no explaning comments.
Base class for exceptions.
std::string Mmessage
pointer to message string
Root namespace of library.
static void report_on_construct()
Issue a screen report on construction of exception.
std::string Mfile
pointer to file name string
void base_report() const
Screen report.
std::string Mcondition
pointer to assertion condition text string
virtual void report() const
Screen report.