]> git.tdb.fi Git - libs/gl.git/blobdiff - source/except.h
Drop Id tags and copyright notices from files
[libs/gl.git] / source / except.h
index 4ba6f717ef30d24eb1098db22767f60aa33f8cca..74467e40c3d527087f93ef78da8927afd9d395dc 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_GL_EXCEPT_H_
 #define MSP_GL_EXCEPT_H_
 
@@ -13,11 +6,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 +20,13 @@ public:
        ~UnsupportedExtension() throw() { }
 };
 
+class CompileError: public Exception
+{
+public:
+       CompileError(const std::string &w_): Exception(w_) { }
+       ~CompileError() throw() { }
+};
+
 } // namespace GL
 } // namespace Msp