X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fexcept.h;h=2d8f979e7f86182b5a0effae9a768e4d06f1b607;hp=7bcf59f4336cd3bda9ffb4669a939be73972d6dd;hb=a361efc05fcad11b2918f3cd7abdebe794b131d8;hpb=85e83ace47e5a9a8ae7263886255dd81afc69278 diff --git a/source/except.h b/source/except.h index 7bcf59f4..2d8f979e 100644 --- a/source/except.h +++ b/source/except.h @@ -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