3 This file is part of libmspgl
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GL_EXCEPT_H_
9 #define MSP_GL_EXCEPT_H_
11 #include <msp/core/except.h>
16 class IncompatibleData: public Exception
19 IncompatibleData(const std::string &w_): Exception(w_) { }
20 ~IncompatibleData() throw() { }
23 class UnsupportedExtension: public Exception
26 UnsupportedExtension(const std::string &w_): Exception(w_+" is not supported") { }
27 ~UnsupportedExtension() throw() { }
30 class CompileError: public Exception
33 CompileError(const std::string &w_): Exception(w_) { }
34 ~CompileError() throw() { }