]> git.tdb.fi Git - libs/gl.git/blobdiff - source/except.h
Rework exceptions
[libs/gl.git] / source / except.h
diff --git a/source/except.h b/source/except.h
deleted file mode 100644 (file)
index 74467e4..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef MSP_GL_EXCEPT_H_
-#define MSP_GL_EXCEPT_H_
-
-#include <msp/core/except.h>
-
-namespace Msp {
-namespace GL {
-
-class IncompatibleData: public Exception
-{
-public:
-       IncompatibleData(const std::string &w_): Exception(w_) { }
-       ~IncompatibleData() throw() { }
-};
-
-class UnsupportedExtension: public Exception
-{
-public:
-       UnsupportedExtension(const std::string &w_): Exception(w_+" is not supported") { }
-       ~UnsupportedExtension() throw() { }
-};
-
-class CompileError: public Exception
-{
-public:
-       CompileError(const std::string &w_): Exception(w_) { }
-       ~CompileError() throw() { }
-};
-
-} // namespace GL
-} // namespace Msp
-
-#endif