Salome HOME
Better management of errors.
[modules/shaper.git] / src / GeomValidators / GeomValidators_PartitionArguments.h
index 1b32070018ee69f2f5d49f193f714b725f0e2589..5f14adae3c4b7fc564680583c3446014c94d9863 100644 (file)
@@ -26,10 +26,11 @@ public:
    */
   GEOMVALIDATORS_EXPORT virtual bool isValid(const std::shared_ptr<ModelAPI_Feature>& theFeature,
                                              const std::list<std::string>& theArguments,
-                                             std::string& theError) const;
+                                             Events_InfoMessage& theError) const;
 
   /// \return true if the attribute in feature is not obligatory for the feature execution.
-  GEOMVALIDATORS_EXPORT virtual bool isNotObligatory(std::string theFeature, std::string theAttribute);
+  GEOMVALIDATORS_EXPORT virtual
+    bool isNotObligatory(std::string theFeature, std::string theAttribute);
 };
 
 #endif