]> git.tdb.fi Git - libs/gl.git/blobdiff - source/except.h
Require mspgbase now that Image was moved there
[libs/gl.git] / source / except.h
index 4ba6f717ef30d24eb1098db22767f60aa33f8cca..2d8f979e7f86182b5a0effae9a768e4d06f1b607 100644 (file)
@@ -13,11 +13,11 @@ Distributed under the LGPL
 namespace Msp {
 namespace GL {
 
-class InvalidOperation: public Exception
+class IncompatibleData: public Exception
 {
 public:
-       InvalidOperation(const std::string &w_): Exception(w_) { }
-       ~InvalidOperation() throw() { }
+       IncompatibleData(const std::string &w_): Exception(w_) { }
+       ~IncompatibleData() throw() { }
 };
 
 class UnsupportedExtension: public Exception
@@ -27,6 +27,13 @@ public:
        ~UnsupportedExtension() throw() { }
 };
 
+class CompileError: public Exception
+{
+public:
+       CompileError(const std::string &w_): Exception(w_) { }
+       ~CompileError() throw() { }
+};
+
 } // namespace GL
 } // namespace Msp