Ignore:
Timestamp:
2001-06-15T10:42:17+12:00 (23 years ago)
Author:
kjm18
Message:

changed error messages to be more useful

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/mgpp/text/mgpp_weights_build.cpp

    r2473 r2555  
    161161
    162162      if (!fragLevelConvert.FragToLevel (fragNum, levelDocNum))
    163     FatalError (1, "could not convert fragment number %d", fragNum);
     163    FatalError (1, "could not convert fragment number %d in level %d", fragNum, levelNum);
    164164
    165165      if (levelDocNum == 0 || levelDocNum > numLevelDocs)
    166     FatalError (1, "bad level document number %d", levelDocNum);
     166    FatalError (1, "bad level document number %d in level %d", levelDocNum, levelNum);
    167167     
    168168      if (levelDocNum != lastLevelDocNum) {
     
    184184
    185185    if (checkLevelFreq != wordEl.levelFreqs[levelNum]) {
    186       cerr << "bad level freq " << checkLevelFreq << " != "
     186      cerr << "bad level freq at level " <<levelNum<<" "<< checkLevelFreq << " != "
    187187       << wordEl.levelFreqs[levelNum] << ", word \""
    188188       << wordEl.el << "\" (" << wordNum << ")\n";
Note: See TracChangeset for help on using the changeset viewer.