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