TS++ library: time series library

◆ base_report()

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

Screen report.

report

Definition at line 99 of file error.cc.

References Mcondition, Mfile, Mline, and Mmessage.

Referenced by report().

100  {
101  cerr << "Exception report:" << endl;
102  if (Mmessage==NULL)
103  {
104  cerr << " No message" << endl;
105  }
106  else
107  {
108  cerr << " message: " << Mmessage << endl;
109  }
110  if (Mfile!=NULL)
111  {
112  cerr << " triggered in \"" << Mfile << "\" at line #" << Mline << endl;
113  }
114  if (Mcondition!=NULL)
115  {
116  cerr << " by condition:" << endl
117  << " \"" << Mcondition << "\"" << endl;
118  }
119  }
const char * Mmessage
pointer to message string
Definition: error.h:93
const char * Mfile
pointer to file name string
Definition: error.h:95
const char * Mcondition
pointer to assertion condition text string
Definition: error.h:99
const int & Mline
pointer to line number in source file
Definition: error.h:97
Here is the caller graph for this function: