libtime++: Date and time calculation

◆ base_report()

void libtime::Exception::base_report ( ) const
protected

Screen report.

report

Definition at line 98 of file error.cc.

References Mcondition, Mfile, Mline, and Mmessage.

Referenced by report().

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