libtime++: Date and time calculation
libtime::Exception Class Reference

#include <libtime++.h>

Public Member Functions

 Exception ()
 Creates exception with no explaining comments. More...
 
 Exception (const char *message)
 Creates an exception with an explanation message. More...
 
 Exception (const char *message, const char *condition)
 Creates an exception with message and failed assertion. More...
 
 Exception (const char *message, const char *file, const int &line, const char *condition)
 Create with message, failed assertion, and code position. More...
 
 Exception (const char *message, const char *file, const int &line)
 Create with message and code position. More...
 
virtual ~Exception ()
 provide explicit virtual destructor More...
 
virtual void report () const
 Screen report. More...
 

Static Public Member Functions

static void report_on_construct ()
 Issue a screen report on construction of exception. More...
 
static void dont_report_on_construct ()
 Issue NO screen report on construction of exception. More...
 

Protected Member Functions

void base_report () const
 Screen report. More...
 

Private Attributes

const char * Mmessage
 pointer to message string More...
 
const char * Mfile
 pointer to file name string More...
 
const int & Mline
 pointer to line number in source file More...
 
const char * Mcondition
 pointer to assertion condition text string More...
 

Static Private Attributes

static bool Mreport_on_construct =true
 Shall we print to cerr at construction time? More...
 

Detailed Description

Definition at line 650 of file libtime++.h.


The documentation for this class was generated from the following files: