Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

DateError Class Reference

A runtime exception thrown by some Date operations. More...

#include <date.h>

Inherits runtime_error.

List of all members.

Public Methods

 DateError (const string &message)
 Constructor, prepends NAME to message to obtain runtime_error::what().


Static Public Attributes

const string NAME
 Name of class, is prepended to each message argument of the constructor.


Detailed Description

A runtime exception thrown by some Date operations.

Definition at line 16 of file date.h.


Constructor & Destructor Documentation

DateError::DateError ( const string & message ) [inline]
 

Constructor, prepends NAME to message to obtain runtime_error::what().

Definition at line 21 of file date.h.

00021 : runtime_error(NAME+": "+message) {}


Member Data Documentation

const string DateError::NAME [static]
 

Name of class, is prepended to each message argument of the constructor.


The documentation for this class was generated from the following files:
httpstats-stage04 [ 7 April, 2001]