Salome HOME
PR: merge from branch BR_UnitTests tag mergeto_trunk_17oct05
[modules/kernel.git] / src / Communication / MultiCommException.hxx
1 #ifndef _MULTICOMMEXCEPTION_HXX_
2 #define _MULTICOMMEXCEPTION_HXX_
3
4 #include <string>
5
6 #if defined WNT && defined COMMUNICATION_EXPORTS
7 #define COMMUNICATION_EXPORT __declspec( dllexport )
8 #else
9 #define COMMUNICATION_EXPORT
10 #endif
11
12 class COMMUNICATION_EXPORT MultiCommException {
13 private:
14   std::string _message;
15 public:
16   MultiCommException(const char *message);
17   const char *what() const;
18 };
19
20 #endif
21