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.
: m_msg("No message")
{
}
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.
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.
{
return m_msg.c_str();
}
Member Data Documentation
A short explanation of the problem.
Definition at line 61 of file graph.hpp.
The documentation for this class was generated from the following files: