claw::graph_exception Class Reference
The exceptions thrown by the graphs.
More...
#include <graph.hpp>
List of all members.
Public Member Functions |
| graph_exception () throw () |
| Default constructor.
|
| graph_exception (const std::string &s) throw () |
| Constructor.
|
virtual | ~graph_exception () throw () |
| Destructor.
|
virtual const char * | what () const throw () |
| Get an explanation of the problem.
|
Private Attributes |
const std::string | m_msg |
| A short explanation of the problem.
|
Detailed Description
The exceptions thrown by the graphs.
- Author:
- Julien Jorge
Definition at line 49 of file graph.hpp.
Constructor & Destructor Documentation
claw::graph_exception::graph_exception |
( |
|
) |
throw () |
Default constructor.
Definition at line 39 of file graph.tpp.
00040 : m_msg("No message")
00041 {
00042
00043 }
claw::graph_exception::graph_exception |
( |
const std::string & |
s |
) |
throw () |
Constructor.
- Parameters:
-
| s | An explanation of the problem. |
Definition at line 50 of file graph.tpp.
00051 : m_msg(s)
00052 {
00053
00054 }
claw::graph_exception::~graph_exception |
( |
|
) |
throw () [virtual] |
Member Function Documentation
const char * claw::graph_exception::what |
( |
|
) |
const throw () [virtual] |
Get an explanation of the problem.
Definition at line 69 of file graph.tpp.
References m_msg.
00070 {
00071 return m_msg.c_str();
00072 }
Member Data Documentation
A short explanation of the problem.
Definition at line 61 of file graph.hpp.
Referenced by what().
The documentation for this class was generated from the following files: