]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Use Events_InfoMessage instead of Events_Error in ModelHighAPI_Interface
authorspo <sergey.pokhodenko@opencascade.com>
Fri, 17 Jun 2016 11:40:41 +0000 (14:40 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Fri, 17 Jun 2016 11:41:13 +0000 (14:41 +0300)
src/ModelHighAPI/ModelHighAPI_Interface.cpp

index e200c9c65e5d438fa8455d9519c1953c83cfba81..228fdcc913bed9a8ee4b03b5eec242a4d49fe5b9 100644 (file)
@@ -7,7 +7,7 @@
 //--------------------------------------------------------------------------------------
 #include "ModelHighAPI_Interface.h"
 //--------------------------------------------------------------------------------------
-#include <Events_Error.h>
+#include <Events_InfoMessage.h>
 
 #include <ModelAPI_Feature.h>
 
@@ -62,5 +62,5 @@ std::shared_ptr<ModelAPI_Result> ModelHighAPI_Interface::defaultResult() const
 
 void ModelHighAPI_Interface::throwException(const std::string & theDescription)
 {
-  Events_Error::send(theDescription);
+  Events_InfoMessage("ModelHighAPI_Interface", theDescription).send();
 }