Debian Codegraph @

src/gengine/ExInfo.h

raw
1 #ifndef HEADER_EXINFO_H
2 #define HEADER_EXINFO_H
3
4 #include "ExInfo.h"
5
6 #include <string>
7
8 /**
9 * Detailed info.
10 */
11 class ExInfo {
12 private:
13 std::string m_what;
14 public:
15 explicit ExInfo(const std::string &problem) throw();
16 const char *what() const throw();
17 std::string info() const throw() { return m_what; }
18
19 ExInfo &addInfo(const std::string &name,
20 const std::string &value) throw();
21 ExInfo &addInfo(const std::string &name, long value) throw();
22 };
23
24 #endif