-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2020 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include <memory>
bool Model_FeatureValidator::isValid(const std::shared_ptr<ModelAPI_Feature>& theFeature,
- const std::list<std::string>& theArguments,
+ const std::list<std::string>& /*theArguments*/,
Events_InfoMessage& theError) const
{
static Model_ValidatorsFactory* aValidators =
aFeatureFind->second.find(*it) == aFeatureFind->second.end()) {
theError = "Attribute \"%1\" is not initialized.";
theError.addParameter(anAttr->id());
+ theError.setContext(theFeature->getKind() + ":" + anAttr->id());
return false;
}
}