--- parser3/src/include/pa_xml_exception.h 2011/05/25 03:57:46 1.6 +++ parser3/src/include/pa_xml_exception.h 2020/12/15 17:10:32 1.13 @@ -1,7 +1,7 @@ /** @file Parser: xml exception decls. - Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2020 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.13 2020/12/15 17:10:32 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,13 +27,16 @@ const char* const XML_INVALID_LOCAL_NAME // includes #include "pa_exception.h" +#include "pa_request.h" // defines class XmlException: public Exception { public: - XmlException(const String* aproblem_source, const char* aproblem_comment=0, ...); + XmlException(const String* aproblem_source, const char* aproblem_comment, ...); + XmlException(const String* aproblem_source, Request& r); + XmlException(); }; #endif