--- parser3/src/main/pa_stylesheet_connection.C 2004/03/30 08:32:17 1.2 +++ parser3/src/main/pa_stylesheet_connection.C 2005/12/16 10:15:12 1.4 @@ -1,13 +1,13 @@ /** @file Parser: Stylesheet connection implementation. - Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #include "pa_config_includes.h" #ifdef XML -static const char * const IDENT_STYLESHEET_CONNECTION_C="$Date: 2004/03/30 08:32:17 $"; +static const char * const IDENT_STYLESHEET_CONNECTION_C="$Date: 2005/12/16 10:15:12 $"; #include "pa_stylesheet_connection.h" #include "pa_xml_exception.h" @@ -24,10 +24,8 @@ void Stylesheet_connection::load(time_t } dependencies=pa_xmlGetDependencies(); } - if(xmlHaveGenericErrors()) { - GdomeException exc=0; - throw XmlException(new String(ffile_spec, String::L_TAINTED), exc); - } + if(xmlHaveGenericErrors()) + throw XmlException(new String(ffile_spec, String::L_TAINTED)); if(!nstylesheet) throw Exception("file.missing", new String(ffile_spec, String::L_TAINTED),