--- parser3/src/main/pa_dictionary.C 2001/10/05 16:12:40 1.7 +++ parser3/src/main/pa_dictionary.C 2002/02/08 08:30:15 1.12 @@ -1,10 +1,10 @@ /** @file Parser: dictionary class impl. - Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://design.ru/paf) + Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexandr Petrosian (http://paf.design.ru) - $Id: pa_dictionary.C,v 1.7 2001/10/05 16:12:40 parser Exp $ + $Id: pa_dictionary.C,v 1.12 2002/02/08 08:30:15 paf Exp $ */ #include "pa_dictionary.h" @@ -19,7 +19,7 @@ void Dictionary::add_first(Array::Item * // empty 'a' check if(a.size()==0) { Pool& pool=self.pool(); - PTHROW(0, 0, + throw Exception(0, 0, &a, "dictionary table 'from' column elements must not be empty"); } @@ -33,7 +33,6 @@ void Dictionary::add_first(Array::Item * self.constructor_line++; } - Dictionary::Dictionary(Table& atable, double amin_ratio) : Pooled(atable.pool()), table(atable), fmax_ratio(amin_ratio) {