TF++, Miscellaneous classes and modules in C++:

◆ Exception() [3/5]

tfxx::error::Exception::Exception ( const char *  message,
const char *  condition 
)

Creates an exception with message and failed assertion.

construct with message and file info

Definition at line 63 of file error.cc.

References base_report(), and report_on_construct_is_true().

64  :
65  Mmessage(message), Mfile(NULL), Mline(0), Mcondition(condition)
66  { if (this->report_on_construct_is_true()) { base_report(); } }
bool report_on_construct_is_true() const
Definition: error.h:108
const char * Mfile
pointer to file name string
Definition: error.h:118
int Mline
pointer to line number in source file
Definition: error.h:120
const char * Mcondition
pointer to assertion condition text string
Definition: error.h:122
const char * Mmessage
pointer to message string
Definition: error.h:116
void base_report() const
Screen report.
Definition: error.cc:114
Here is the call graph for this function: