1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
6 * Created on: Apr 28, 2014
10 #ifndef EVENTS_ERROR_H_
11 #define EVENTS_ERROR_H_
14 #include <Events_Message.h>
18 class EVENTS_EXPORT Events_Error : public Events_Message
20 char* myDescription; ///< pointer to the description of the error
23 virtual ~Events_Error();
25 static Events_ID errorID();
26 char* description() const;
27 static void send(char* theDescription, const void* theSender = 0);
28 static void send(std::string theDescription, const void* theSender = 0);
31 Events_Error(char* theDescription, const void* theSender = 0);
34 #endif /* EVENTS_ERROR_H_ */