--- parser3/src/classes/string.C 2003/01/31 12:34:27 1.125.2.1 +++ parser3/src/classes/string.C 2003/01/31 14:03:52 1.125.2.2 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_STRING_C="$Date: 2003/01/31 12:34:27 $"; +static const char* IDENT_STRING_C="$Date: 2003/01/31 14:03:52 $"; #include "classes.h" #include "pa_request.h" @@ -48,7 +48,7 @@ static void _int(Request& r, const Strin converted=self_string->as_int(); } catch(...) { // convert problem if(!default_code) // we have a problem when no default - /*re*/throw; + rethrow; else converted=r.process_to_value(*default_code).as_int(); } @@ -68,7 +68,7 @@ static void _double(Request& r, const St converted=self_string->as_double(); } catch(...) { // convert problem if(!default_code) // we have a problem when no default - /*re*/throw; + rethrow; else converted=r.process_to_value(*default_code).as_double(); }