36 #define DATRW_EXCEPTION_CC_VERSION \ 37 "DATRW_EXCEPTION_CC V1.1" 54 Mmessage(
""), Mfile(
""), Mline(0), Mcondition(
"")
59 Mmessage(message), Mfile(
""), Mline(0), Mcondition(
"")
64 const std::string& condition):
65 Mmessage(message), Mfile(
""), Mline(0), Mcondition(condition)
70 const std::string& file,
72 Mmessage(message), Mfile(file), Mline(line), Mcondition(
"")
77 const std::string& file,
79 const std::string& condition):
80 Mmessage(message), Mfile(file), Mline(line), Mcondition(condition)
a fatal error; processing wil abort as a consequence
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?
const int & Mline
pointer to line number in source file
libdatrwxx version string (prototypes)
libdatrwxx exception class (prototypes)
Exception()
Creates exception with no explaning comments.
std::string Mmessage
pointer to message string
Root namespace of library.
utilities used by more than one type of data reader (prototypes)
static void report_on_construct()
Issue a screen report on construction of exception.
void report_violation(const Ereport &t, const std::string &message, const std::string &file, const int &line, const std::string &condition)
report violation of assertion
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.