00001 #ifndef HEADER_EXINFO_H
00002 #define HEADER_EXINFO_H
00003
00004 #include "ExInfo.h"
00005
00006 #include <string>
00007
00008
00009
00010
00011 class ExInfo {
00012 private:
00013 std::string m_what;
00014 public:
00015 explicit ExInfo(const std::string &problem) throw();
00016 const char *what() const throw();
00017 std::string info() const throw() { return m_what; }
00018
00019 ExInfo &addInfo(const std::string &name,
00020 const std::string &value) throw();
00021 ExInfo &addInfo(const std::string &name, long value) throw();
00022 };
00023
00024 #endif