libtime++: Date and time calculation

◆ Exception() [5/5]

libtime::Exception::Exception ( const char *  message,
const char *  file,
const int &  line 
)

Create with message and code position.

construct with message and file info

Definition at line 65 of file error.cc.

References Mreport_on_construct, and report().

67  :
68  Mmessage(message), Mfile(file), Mline(line), Mcondition(0)
69  { if (Mreport_on_construct) { report(); } }
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
static bool Mreport_on_construct
Shall we print to cerr at construction time?
Definition: libtime++.h:682
virtual void report() const
Screen report.
Definition: error.cc:92
Here is the call graph for this function: