libtime++: Date and time calculation

◆ Exception() [3/5]

libtime::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 59 of file error.cc.

References Mreport_on_construct, and report().

60  :
61  Mmessage(message), Mfile(0), Mline(0), Mcondition(condition)
62  { 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: