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