--- parser3/src/main/pa_table.C 2001/02/20 18:45:53 1.8 +++ parser3/src/main/pa_table.C 2001/03/11 08:16:35 1.11 @@ -1,5 +1,9 @@ /* - $Id: pa_table.C,v 1.8 2001/02/20 18:45:53 paf Exp $ + Parser + Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexander Petrosyan (http://design.ru/paf) + + $Id: pa_table.C,v 1.11 2001/03/11 08:16:35 paf Exp $ */ #include @@ -31,7 +35,7 @@ Table::Table(Request& arequest, const Array &Table::at(int index) { if(index<0 || index>=size()) - request.exception().raise(0, 0, + THROW(0, 0, 0, "table row index %d is out of range [0..%d]", index, size()-1); @@ -51,7 +55,7 @@ const char *Table::item(const String& co if(found_index) column_index=found_index-1; else - request.exception().raise(0, 0, + THROW(0, 0, &column_name, "column not found"); } else {