21namespace LinguisticProcessing
40 LOGINIT(m_loggingCategory.c_str());
41 LERROR <<
"no param \"" << name <<
"\" in " << m_processUnitName <<
" group configuration";
50 LOGINIT(m_loggingCategory.c_str());
51 LERROR <<
"param \"" << name <<
"\" in " << m_processUnitName <<
" group configuration has zero length";
85 LOGINIT(m_loggingCategory.c_str());
86 LERROR <<
"no param \"" << name <<
"\" in " << m_processUnitName <<
" group configuration";
95 LOGINIT(m_loggingCategory.c_str());
96 LERROR <<
"param \"" << name <<
"\" in " << m_processUnitName <<
" group configuration is zero";
118 if (lazy_init ==
"true")
std::string & getParamsValueAtKey(const std::string &key)
return a message when a 'param' was not found
Use this exception to signal an error in one of the configuration files.
void getIntParameter(Common::XMLConfigurationFiles::GroupConfigurationStructure &unitConfiguration, const std::string &name, int &value, int flags=Flags::REQUIRED, int default_value=0)
void getStringParameter(Common::XMLConfigurationFiles::GroupConfigurationStructure &unitConfiguration, const std::string &name, std::string &value, int flags=Flags::REQUIRED, std::string default_value="")
static const MediaticData & single()
const singleton accessor
launch exception related to the configuration file parsing