Changeset 623 for trunk/lib/File.cc


Ignore:
Timestamp:
Apr 23, 2008, 11:49:28 PM (13 years ago)
Author:
Peter Johansson
Message:

improved msg in exception

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/File.cc

    r622 r623  
    268268      else if (*line_type==LineTypeParser::code)
    269269        os << "line-code";
    270       else
    271         throw std::runtime_error("unspected line type found");
     270      else {
     271        std::string msg="File::print_blame(): unexpected line type found";
     272        throw std::runtime_error(msg);
     273      }
    272274      os << "\">" << blame.line_no()+1
    273275         << "</td>\n<td>";
Note: See TracChangeset for help on using the changeset viewer.