X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ferror.h;fp=source%2Ferror.h;h=0000000000000000000000000000000000000000;hp=8af3ec6b4e3fb13394c943ecbc89280e3dfe9332;hb=7aaec9a70b8d7733429bec043f8e33e02956f266;hpb=bec07999d95b76f4b47cffcc564d0cd0afc0435e diff --git a/source/error.h b/source/error.h deleted file mode 100644 index 8af3ec6b..00000000 --- a/source/error.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef MSP_GL_ERROR_H_ -#define MSP_GL_ERROR_H_ - -#include - -namespace Msp { -namespace GL { - -class unsupported_extension: public std::runtime_error -{ -public: - unsupported_extension(const std::string &w): std::runtime_error(w) { } - virtual ~unsupported_extension() throw() { } -}; - -class invalid_operation: public std::logic_error -{ -public: - invalid_operation(const std::string &w): std::logic_error(w) { } - virtual ~invalid_operation() throw() { } -}; - -class stack_underflow: public std::logic_error -{ -public: - stack_underflow(const std::string &w): std::logic_error(w) { } - virtual ~stack_underflow() throw() { } -}; - -class incompatible_data: public std::logic_error -{ -public: - incompatible_data(const std::string &w): std::logic_error(w) { } - virtual ~incompatible_data() throw() { } -}; - -class compile_error: public std::runtime_error -{ -public: - compile_error(const std::string &w): std::runtime_error(w) { } - virtual ~compile_error() throw() { } -}; - -class incomplete_uniform_block: public std::runtime_error -{ -public: - incomplete_uniform_block(const std::string &w): std::runtime_error(w) { } - virtual ~incomplete_uniform_block() throw() { } -}; - -} // namespace GL -} // namespace Msp - -#endif