fixed bug where failing to read from the string was silently ignored (causing further problems in the framework -- eoParser)

This commit is contained in:
LPTK 2013-07-18 14:11:18 +02:00
commit b5f15a4a3d

View file

@ -224,7 +224,9 @@ public :
void setValue(const std::string& _value)
{
std::istringstream is(_value);
is >> repValue;
bool read = (is >> repValue);
if (!read)
throw std::runtime_error("Could not read value passed in eoValueParam::setValue");
}
protected: