X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fexcept.h;h=1673ff46a4c528764988bb7520cf0a5a9f0ef6d8;hp=65d9ef9d88b398fe2579a0d15ba11d8a2f4bfcbc;hb=5d3a5019399f97af0371f4fd6dc415d36de6ac3a;hpb=5d51c374869f13f762039f58c03f3c5d75c12f07 diff --git a/source/core/except.h b/source/core/except.h index 65d9ef9..1673ff4 100644 --- a/source/core/except.h +++ b/source/core/except.h @@ -2,31 +2,32 @@ #define MSP_CORE_EXCEPT_H_ #include +#include "mspcore_api.h" namespace Msp { -class invalid_state: public std::logic_error +class MSPCORE_API invalid_state: public std::logic_error { public: invalid_state(const std::string &w): logic_error(w) { } }; -class already_called: public invalid_state +class MSPCORE_API already_called: public invalid_state { public: already_called(const std::string &w): invalid_state(w) { } }; -class unsupported: public std::logic_error +class MSPCORE_API unsupported: public std::logic_error { public: unsupported(const std::string &w): logic_error(w) { } }; -class internal_error: public std::logic_error +class MSPCORE_API internal_error: public std::logic_error { public: internal_error(const std::string &w): logic_error(w) { }