- status: open --> closed
please re-include FileName.c_str() in CConcordance::LoadProject() exception message(s) … it might not be entirely accurate (the actual file-list isn't read from FileName anymore), but it is helpful when things go wrong
this can crop up when trying to load N physical corpora in parallel, and I need some indicator (e.g. FileName) of which physical corpus threw the exception
if (GetFileBreaks().size() != m_CorpusFiles.size()) {
- ErrorMessage(
- Format("The number of files in %s is not equal to the number of files in the index", FileName.c_str()));
- return false;
+ throw CExpc("The number of files is not equal to the number of files in the index");
}