LRT14  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
exception_message.hpp
1 #ifndef RHESUS_EXCEPTION_MESSAGE_H_
2 #define RHESUS_EXCEPTION_MESSAGE_H_
3 
4 #include <string>
5 
6 namespace Rhesus
7 {
8 namespace Toolkit
9 {
10 
16  {
17  public:
18 
19  exception_message(std::string msg)
20  {
21  m_message = msg;
22  }
23 
24  const char* message()
25  {
26  return m_message.c_str();
27  }
28 
29  private:
30 
31  std::string m_message;
32 
33  };
34 }
35 }
36 
37 #endif