DREAM::Exception Class Reference

Generic Exception class used in the whole DREAM implementation. More...

#include <Exception.h>

Inheritance diagram for DREAM::Exception:

DREAM::BaseClassException DREAM::XMLException List of all members.

Public Member Functions

 Exception (const std::string &exception)
 Constructor.
virtual ~Exception ()
 Destructor.
virtual void handler () const
 Handler.

Protected Attributes

std::string exception_
 The exception message.

Detailed Description

Generic Exception class used in the whole DREAM implementation.

Definition at line 60 of file Exception.h.


Constructor & Destructor Documentation

DREAM::Exception::Exception ( const std::string &  exception  ) 

Constructor.

Parameters:
exception specifies the exception message.

Definition at line 56 of file Exception.cpp.

DREAM::Exception::~Exception (  )  [virtual]

Destructor.

Definition at line 61 of file Exception.cpp.


Member Function Documentation

void DREAM::Exception::handler (  )  const [virtual]

Handler.

Outputs exception message.

Reimplemented in DREAM::BaseClassException, and DREAM::XMLException.

Definition at line 65 of file Exception.cpp.

References exception_.

Referenced by main().


Member Data Documentation

std::string DREAM::Exception::exception_ [protected]

The exception message.

Definition at line 77 of file Exception.h.

Referenced by DREAM::XMLException::handler(), DREAM::BaseClassException::handler(), and handler().


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 18:30:04 2007 for DREAM by  doxygen 1.5.1