From: spo Date: Fri, 17 Jun 2016 11:40:41 +0000 (+0300) Subject: Use Events_InfoMessage instead of Events_Error in ModelHighAPI_Interface X-Git-Tag: V_2.4.0~91^2~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=18fbae4bd7adaac72d213b831547364a359b948f;p=modules%2Fshaper.git Use Events_InfoMessage instead of Events_Error in ModelHighAPI_Interface --- diff --git a/src/ModelHighAPI/ModelHighAPI_Interface.cpp b/src/ModelHighAPI/ModelHighAPI_Interface.cpp index e200c9c65..228fdcc91 100644 --- a/src/ModelHighAPI/ModelHighAPI_Interface.cpp +++ b/src/ModelHighAPI/ModelHighAPI_Interface.cpp @@ -7,7 +7,7 @@ //-------------------------------------------------------------------------------------- #include "ModelHighAPI_Interface.h" //-------------------------------------------------------------------------------------- -#include +#include #include @@ -62,5 +62,5 @@ std::shared_ptr ModelHighAPI_Interface::defaultResult() const void ModelHighAPI_Interface::throwException(const std::string & theDescription) { - Events_Error::send(theDescription); + Events_InfoMessage("ModelHighAPI_Interface", theDescription).send(); }