00001 #ifndef GLLOGICERROR_H_ 00002 #define GLLOGICERROR_H_ 00003 00004 #include <stdexcept> 00005 #include <string> 00006 using namespace std; 00007 00011 class GLLogicError: public logic_error 00012 { 00013 public: 00018 GLLogicError(const string& msg = ""): 00019 logic_error(msg) 00020 {} 00024 virtual ~GLLogicError() throw(){}; 00025 };//GLLogicError 00026 00027 #endif /*GLLOGICERROR_H_*/