Bug hunting; Detect internal error and throw exception
This commit is contained in:
parent
6030ab72ab
commit
fe324aea49
|
@ -716,6 +716,8 @@ namespace {
|
|||
const std::string c = line.substr(pos, end-pos);
|
||||
pos = end;
|
||||
d.constraints.push_back(c);
|
||||
} else {
|
||||
throw ExprEngineException(nullptr, "Internal Error: Data::parsestr(), line:" + line);
|
||||
}
|
||||
}
|
||||
importData->push_back(d);
|
||||
|
|
Loading…
Reference in New Issue