lua++
|
00001 #ifndef LUAPP_EXCEPTION_H 00002 #define LUAPP_EXCEPTION_H 00003 00004 #include <utils_exception.hpp> 00005 00006 namespace lua 00007 { 00008 class exception : public utils::exception 00009 { 00010 public : 00011 00012 exception(const std::string& sMessage) : utils::exception(sMessage) 00013 { 00014 } 00015 00016 exception(const std::string& sClassName, const std::string& sMessage) : utils::exception(sClassName, sMessage) 00017 { 00018 } 00019 }; 00020 } 00021 00022 #endif