--- parser3/src/main/pa_request.C 2002/06/12 11:40:32 1.209 +++ parser3/src/main/pa_request.C 2002/06/12 12:50:32 1.210 @@ -4,7 +4,7 @@ Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) - $Id: pa_request.C,v 1.209 2002/06/12 11:40:32 paf Exp $ + $Id: pa_request.C,v 1.210 2002/06/12 12:50:32 paf Exp $ */ #include "pa_sapi.h" @@ -136,10 +136,10 @@ void Request::configure_admin(VStateless if(Value *vcharsets=conf_class.get_element(*charsets_name)) { if(Hash *charsets=vcharsets->get_hash(0)) charsets->for_each(load_charset); - else + else if(!vcharsets->get_string()) throw Exception("parser.runtime", 0, - "$" CHARSETS_NAME " must be hash"); + "$" MAIN_CLASS_NAME ":" CHARSETS_NAME " must be hash"); } // configure root options