X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fexcept.h;fp=source%2Fexcept.h;h=533072e8ddcf3fe5fdb3b592d250c4099c43b80c;hb=500cf73580cf1a4ed472a1e65c68702644283969;hp=8357c7e33b8ce5d25f9d03c4557869cd52dab48e;hpb=9d71185a55558c80c85a65e13427dd491a2f4451;p=libs%2Fdatafile.git diff --git a/source/except.h b/source/except.h index 8357c7e..533072e 100644 --- a/source/except.h +++ b/source/except.h @@ -4,11 +4,12 @@ #include #include #include +#include "mspdatafile_api.h" namespace Msp { namespace DataFile { -class data_error: public std::runtime_error +class MSPDATAFILE_API data_error: public std::runtime_error { private: std::string source; @@ -28,7 +29,7 @@ private: }; -class parse_error: public std::runtime_error +class MSPDATAFILE_API parse_error: public std::runtime_error { public: parse_error(const std::string &); @@ -36,7 +37,7 @@ public: }; -class syntax_error: public std::runtime_error +class MSPDATAFILE_API syntax_error: public std::runtime_error { public: syntax_error(const std::string &t); @@ -44,7 +45,7 @@ public: }; -class bad_definition: public std::runtime_error +class MSPDATAFILE_API bad_definition: public std::runtime_error { public: bad_definition(const std::string &w); @@ -52,7 +53,7 @@ public: }; -class nesting_error: public std::logic_error +class MSPDATAFILE_API nesting_error: public std::logic_error { public: nesting_error(const std::string &); @@ -60,7 +61,7 @@ public: }; -class unknown_keyword: public std::runtime_error +class MSPDATAFILE_API unknown_keyword: public std::runtime_error { public: unknown_keyword(const std::string &); @@ -68,7 +69,7 @@ public: }; -class invalid_signature: public std::runtime_error +class MSPDATAFILE_API invalid_signature: public std::runtime_error { public: invalid_signature(const std::string &, const std::string &); @@ -76,7 +77,7 @@ public: }; -class no_collection: public std::runtime_error +class MSPDATAFILE_API no_collection: public std::runtime_error { public: no_collection(const std::type_info &);