17 : limitsData(limitsData_)
26 const double resourceUsage = resourceData.getItem((*iter).first);
27 if ((*iter).second && (*iter).second < resourceUsage)
29 std::stringstream errMsg;
30 errMsg <<
"Node '" << resourceData.getIdentity() <<
"' has exceeded max allowed "
31 << resourcesUsageMessage[(*iter).first] <<
" resource usage. Limits: " << trim((*iter).second) <<
" %. Current usage: " << trim(resourceUsage) <<
" %.";
32 throw Poco::Exception(errMsg.str());
46 catch(Poco::Exception& e)
48 errorMsg = e.message();