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

◆ base_report()

void tfxx::error::Exception::base_report ( ) const
private

Screen report.

report

Definition at line 114 of file error.cc.

References Mcondition, Mfile, Mline, and Mmessage.

Referenced by Exception(), and report().

115  {
116  std::cout.flush();
117  cerr << "Exception report:" << endl;
118  if (Mmessage==NULL)
119  {
120  cerr << " No message" << endl;
121  }
122  else
123  {
124  cerr << " message: " << Mmessage << endl;
125  }
126  if (Mfile!=NULL)
127  {
128  cerr << " triggered in \"" << Mfile << "\" at line #" << Mline << endl;
129  }
130  if (Mcondition!=NULL)
131  {
132  cerr << " by test condition:" << endl
133  << " \"" << Mcondition << "\"" << endl;
134  }
135  cerr.flush();
136  }
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
Here is the caller graph for this function: