From: Christian P. <cp...@us...> - 2005-01-20 22:16:24
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15322/include/pclasses Modified Files: Exception.h Log Message: Added export macros. Index: Exception.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/Exception.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Exception.h 25 Dec 2004 00:04:37 -0000 1.4 +++ Exception.h 20 Jan 2005 22:16:13 -0000 1.5 @@ -22,6 +22,7 @@ #define _P_Exception_h_ #include <string> +#include <pclasses/Export.h> #include <pclasses/SourceInfo.h> namespace P { @@ -38,7 +39,7 @@ about the exception. */ -class Exception { +class PCORE_EXPORT Exception { public: /** Creates an exception with the given what() string @@ -73,7 +74,7 @@ }; //! Logic error -class LogicError: public Exception { +class PCORE_EXPORT LogicError: public Exception { public: LogicError(const char* what, const SourceInfo& si) throw(); LogicError(const std::string & what, const SourceInfo& si) throw(); @@ -81,21 +82,21 @@ }; //! Runtime error -class RuntimeError: public Exception { +class PCORE_EXPORT RuntimeError: public Exception { public: RuntimeError(const char* what, const SourceInfo& si) throw(); RuntimeError(const std::string & what, const SourceInfo& si) throw(); ~RuntimeError() throw(); }; -class OverrunError: public RuntimeError { +class PCORE_EXPORT OverrunError: public RuntimeError { public: OverrunError(const char* what, const SourceInfo& si) throw(); OverrunError(const std::string & what, const SourceInfo& si) throw(); ~OverrunError() throw(); }; -class UnderrunError: public RuntimeError { +class PCORE_EXPORT UnderrunError: public RuntimeError { public: UnderrunError(const char* what, const SourceInfo& si) throw(); UnderrunError(const std::string & what, const SourceInfo& si) throw(); @@ -103,14 +104,14 @@ ~UnderrunError() throw(); }; -class OutOfBounds: public RuntimeError { +class PCORE_EXPORT OutOfBounds: public RuntimeError { public: OutOfBounds(const char* what, const SourceInfo& si) throw(); OutOfBounds(const std::string & what, const SourceInfo& si) throw(); ~OutOfBounds() throw(); }; -class OverflowError: public RuntimeError { +class PCORE_EXPORT OverflowError: public RuntimeError { public: OverflowError(const char* what, const SourceInfo& si) throw(); OverflowError(const std::string & what, const SourceInfo& si) throw(); |