--- parser3/src/main/pa_table.C 2002/02/08 07:27:49 1.43 +++ parser3/src/main/pa_table.C 2002/03/27 15:30:37 1.45 @@ -2,9 +2,9 @@ Parser: table class. Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://paf.design.ru) + Author: Alexandr Petrosian (http://paf.design.ru) - $Id: pa_table.C,v 1.43 2002/02/08 07:27:49 paf Exp $ + $Id: pa_table.C,v 1.45 2002/03/27 15:30:37 paf Exp $ */ #include @@ -45,7 +45,7 @@ int Table::column_name2index(const Strin if(fcolumns) {// named int result=name2number.get_int(column_name)-1; // -1 = column not found if(bark && result<0) - throw Exception(0, 0, + throw Exception("parser.runtime", &column_name, "column not found"); return result; @@ -56,7 +56,7 @@ int Table::column_name2index(const Strin if(*error_pos/*not EOS*/) { result=-1; if(bark) - throw Exception(0, 0, + throw Exception("parser.runtime", &column_name, "invalid column number"); }