--- parser3/src/include/pa_xml_exception.h 2011/05/25 03:57:46 1.6 +++ parser3/src/include/pa_xml_exception.h 2013/10/15 22:28:36 1.9 @@ -1,7 +1,7 @@ /** @file Parser: xml exception decls. - Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ @@ -10,9 +10,10 @@ #ifdef XML -static const char * const IDENT_XML_EXCEPTION_H="$Date: 2011/05/25 03:57:46 $"; +#define IDENT_PA_XML_EXCEPTION_H "$Id: pa_xml_exception.h,v 1.9 2013/10/15 22:28:36 moko Exp $" const char* const XML_VALUE_MUST_BE_STRING = "value must be string"; +const char* const XML_DATA_MUST_BE_STRING = "data must be string"; const char* const XML_NAMESPACEURI_MUST_BE_STRING = "namespaceURI must be string"; const char* const XML_QUALIFIED_NAME_MUST_BE_STRING = "qualifiedName must be string"; @@ -26,6 +27,7 @@ const char* const XML_INVALID_LOCAL_NAME // includes #include "pa_exception.h" +#include "pa_request.h" // defines @@ -33,6 +35,8 @@ class XmlException: public Exception { public: XmlException(const String* aproblem_source, const char* aproblem_comment=0, ...); + XmlException(const String* aproblem_source, Request& r); + XmlException(); }; #endif