--- parser3/src/classes/Attic/random.C 2001/04/02 08:49:38 1.2 +++ parser3/src/classes/Attic/random.C 2001/04/04 06:16:18 1.3 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: random.C,v 1.2 2001/04/02 08:49:38 paf Exp $ + $Id: random.C,v 1.3 2001/04/04 06:16:18 paf Exp $ */ #include @@ -29,7 +29,7 @@ static void _generate(Request& r, const uint max=params->size()? (uint)(r.process(*static_cast(params->get(0)))).as_double():0; if(max<=1) - RTHROW(0, 0, + PTHROW(0, 0, &method_name, "bad range [0..%u]", max);