/// Allows to send an error quickly: it creates and sends the error object automatically
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);
+
protected:
/// Default constructor. Use "send" message for generation an error.
EVENTS_EXPORT Events_Error(const std::string& theDescription, const void* theSender = 0);