claw::graph_exception Class Reference

#include <graph.hpp>

List of all members.


Detailed Description

Exceptions levées par la classe graph.

Author:
Julien Jorge

Definition at line 50 of file graph.hpp.


Public Member Functions

 graph_exception () throw ()
 Constructeur sans message.
 graph_exception (const std::string &s) throw ()
 Constructeur avec message.
virtual ~graph_exception () throw ()
 Destructeur.
virtual const char * what () const throw ()
 Rédupère la cause de l'erreur.

Private Attributes

const std::string m_msg
 La cause de l'erreur.

Constructor & Destructor Documentation

claw::graph_exception::graph_exception (  )  throw ()

Constructeur sans message.

Definition at line 42 of file graph.tpp.

00043   : m_msg("No message") 
00044 {
00045 
00046 } // graph_exception() [constructeur]

claw::graph_exception::graph_exception ( const std::string &  s  )  throw ()

Constructeur avec message.

Parameters:
s La cause de l'erreur.

Definition at line 53 of file graph.tpp.

00054   : m_msg(s) 
00055 {
00056 
00057 } // graph_exception(s) [constructeur]

claw::graph_exception::~graph_exception (  )  throw () [virtual]

Destructeur.

Definition at line 63 of file graph.tpp.

00064 {
00065 
00066 } // ~graph_exception(s) [destructeur]


Member Function Documentation

const char * claw::graph_exception::what (  )  const throw () [virtual]

Rédupère la cause de l'erreur.

Definition at line 72 of file graph.tpp.

References m_msg.

00073 {
00074   return m_msg.c_str(); 
00075 } // what()


Member Data Documentation

const std::string claw::graph_exception::m_msg [private]

La cause de l'erreur.

Definition at line 61 of file graph.hpp.

Referenced by what().


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

Generated on Thu Jun 26 09:35:05 2008 for CLAW Library (a C++ Library Absolutely Wonderful) by  doxygen 1.5.6