chrono::ChException Class Reference

Description

Class for exceptions for throw() catch() mechanism.

Each class can contain a message in form of text.

#include <ChException.h>

Inheritance diagram for chrono::ChException:

Public Member Functions

 ChException (std::string swhat)
 Constructor for a basic exception: sets the exception message as a string 'swhat'. More...
 
 ChException (const ChException &right)
 Copy constructor.
 
ChExceptionoperator= (const ChException &right)
 Assignment = operator.
 
virtual const char * what () const throw ()
 

Protected Attributes

std::string m_swhat
 

Constructor & Destructor Documentation

chrono::ChException::ChException ( std::string  swhat)

Constructor for a basic exception: sets the exception message as a string 'swhat'.