- A Logic Circuit Simulation Library in C++

lcs::Exception Class Reference

#include <exception.h>

Inheritance diagram for lcs::Exception:

lcs::MultipleClockException lcs::NullClockException lcs::OutOfRangeException< T > List of all members.

Detailed Description

An abstract base class for the exception classes of libLCS.

Public Member Functions

 Exception ()
virtual ~Exception ()
virtual std::string getMessage (void)=0

Constructor & Destructor Documentation

lcs::Exception::Exception (  )  [inline]

The default constructor.

virtual lcs::Exception::~Exception (  )  [inline, virtual]

The virtual destructor.

Member Function Documentation

virtual std::string lcs::Exception::getMessage ( void   )  [pure virtual]

Returns the exception related message. The derived exception classes should over-ride this function in order to return context specific message.

Implemented in lcs::MultipleClockException, lcs::NullClockException, and lcs::OutOfRangeException< T >.

Copyright © 2006, 2007 Siva Chandra