1 #ifndef MSP_GL_ERROR_H_
2 #define MSP_GL_ERROR_H_
9 class unsupported_extension: public std::runtime_error
12 unsupported_extension(const std::string &w): std::runtime_error(w) { }
13 virtual ~unsupported_extension() throw() { }
16 class invalid_operation: public std::logic_error
19 invalid_operation(const std::string &w): std::logic_error(w) { }
20 virtual ~invalid_operation() throw() { }
23 class stack_underflow: public std::logic_error
26 stack_underflow(const std::string &w): std::logic_error(w) { }
27 virtual ~stack_underflow() throw() { }
30 class incompatible_data: public std::logic_error
33 incompatible_data(const std::string &w): std::logic_error(w) { }
34 virtual ~incompatible_data() throw() { }
37 class compile_error: public std::runtime_error
40 compile_error(const std::string &w): std::runtime_error(w) { }
41 virtual ~compile_error() throw() { }
44 class incomplete_uniform_block: public std::runtime_error
47 incomplete_uniform_block(const std::string &w): std::runtime_error(w) { }
48 virtual ~incomplete_uniform_block() throw() { }