- static void send(char* theDescription, const void* theSender = 0);
- /// Allows to send an error quickly: it creates and sends the error object automatically
- static void send(std::string theDescription, const void* theSender = 0);
+ EVENTS_EXPORT static void send(const std::string& theDescription, const void* theSender = 0);
+
+ /// Throws a C++ exception about using an empty AIS object
+ /// \theDescription an exception information
+ EVENTS_EXPORT static void throwException(const std::string& theDescription);