#include <GeomAbs_SurfaceType.hxx>
-#include <Events_Error.h>
+#include <Events_InfoMessage.h>
#include <QString>
#include <QMap>
if (MyFaceTypes.find(aType) != MyFaceTypes.end())
return MyFaceTypes[aType];
- Events_Error::send("Face type defined in XML is not implemented!");
+ Events_InfoMessage("GeomValidators_Face", "Face type defined in XML is not implemented!").send();
return GeomAbs_Plane;
}
bool GeomValidators_Face::isValid(const AttributePtr& theAttribute,
const std::list<std::string>& theArguments,
- std::string& theError) const
+ Events_InfoMessage& theError) const
{
std::string anAttributeType = theAttribute->attributeType();
if (anAttributeType != ModelAPI_AttributeSelection::typeId()) {