AFF --- A container for numbers (array) by Friederich and Forbriger.

◆ base_report()

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

Screen report.

report

Definition at line 104 of file error.cc.

References Mcondition, Mfile, Mline, and Mmessage.

Referenced by report(), and aff::AllocException::report().

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