00001
00002
00003 #ifndef LCG_INFO_EXCEPTION_HH
00004 #define LCG_INFO_EXCEPTION_HH
00005
00006 #include <string>
00007
00008 namespace LcgInfo{
00009
00010
00019 class LcgInfoException{
00020
00021 public:
00022 LcgInfoException();
00023 LcgInfoException(std::string const & s, std::string const& file, int const & line);
00024 ~LcgInfoException();
00025 std::string what();
00026 int get_line();
00027 std::string get_file();
00028
00029 private:
00030 std::string message;
00031 std::string filename;
00032 int linenumber;
00033 static std::string DefMess;
00034
00035 };
00036
00037 }
00038 #endif