File:  [parser3project] / parser3 / src / main / pa_xml_exception.C
Revision 1.5: download - view: text, annotated - select for diffs - revision graph
Fri Dec 16 10:15:12 2005 UTC (20 years, 7 months ago) by paf
Branches: MAIN
CVS tags: release_3_4_1, release_3_4_0, release_3_3_0, release_3_2_3, release_3_2_2, release_3_2_1, paf_left, HEAD
. started killing gdome

/** @file
	Parser: exception class.

	Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com)
	Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
*/

#include "pa_config_includes.h"

#ifdef XML

static const char * const IDENT="$Date: 2005/12/16 10:15:12 $";

#include "pa_xml_exception.h"
#include "pa_globals.h"
#include "pa_common.h"

// methods

XmlException::XmlException(const String* aproblem_source) {
	ftype="xml";
	fproblem_source=aproblem_source;

	if(const char* xml_generic_errors=xmlGenericErrors()) {
		fcomment=pa_strdup(xml_generic_errors);
	} else
		fcomment="-UNKNOWN ERROR-";
}
#endif

E-mail: