libtime++: Date and time calculation

◆ Exception() [2/5]

libtime::Exception::Exception ( const char *  message)

Creates an exception with an explanation message.

construct with message

Definition at line 54 of file error.cc.

References Mreport_on_construct, and report().

54  :
55  Mmessage(message), Mfile(0), Mline(0), Mcondition(0)
56  { 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: