4 * Created on: Apr 28, 2014
8 #ifndef EVENTS_ERROR_H_
9 #define EVENTS_ERROR_H_
12 #include <Events_Message.h>
16 class EVENTS_EXPORT Events_Error : public Events_Message
18 char* myDescription; ///< pointer to the description of the error
21 virtual ~Events_Error();
23 static Events_ID errorID();
24 char* description() const;
25 static void send(char* theDescription, const void* theSender = 0);
26 static void send(std::string theDescription, const void* theSender = 0);
29 Events_Error(char* theDescription, const void* theSender = 0);
32 #endif /* EVENTS_ERROR_H_ */