TS++ library: time series library

◆ Exception() [3/5]

ts::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 60 of file error.cc.

References Mreport_on_construct, and report().

61  :
62  Mmessage(message), Mfile(NULL), Mline(0), Mcondition(condition)
63  { if (Mreport_on_construct) { report(); } }
const char * Mmessage
pointer to message string
Definition: error.h:93
const char * Mfile
pointer to file name string
Definition: error.h:95
static bool Mreport_on_construct
Shall we print to cerr at construction time?
Definition: error.h:91
const char * Mcondition
pointer to assertion condition text string
Definition: error.h:99
virtual void report() const
Screen report.
Definition: error.cc:93
const int & Mline
pointer to line number in source file
Definition: error.h:97
Here is the call graph for this function: