Annotation of parser3/src/include/pa_xml_exception.h, revision 1.16

1.1       paf         1: /** @file
                      2:        Parser: xml exception decls.
                      3: 
1.16    ! moko        4:        Copyright (c) 2001-2026 Art. Lebedev Studio (https://www.artlebedev.com)
1.14      moko        5:        Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru>
1.1       paf         6: */
                      7: 
                      8: #ifndef PA_XML_EXCEPTION_H
                      9: #define PA_XML_EXCEPTION_H
                     10: 
                     11: #ifdef XML
                     12: 
1.16    ! moko       13: #define IDENT_PA_XML_EXCEPTION_H "$Id: pa_xml_exception.h,v 1.15 2024/11/04 03:53:25 moko Exp $"
1.6       misha      14: 
                     15: const char* const XML_VALUE_MUST_BE_STRING = "value must be string";
1.7       misha      16: const char* const XML_DATA_MUST_BE_STRING = "data must be string";
1.6       misha      17: const char* const XML_NAMESPACEURI_MUST_BE_STRING = "namespaceURI must be string";
                     18: 
                     19: const char* const XML_QUALIFIED_NAME_MUST_BE_STRING = "qualifiedName must be string";
                     20: const char* const XML_NC_NAME_MUST_BE_STRING = "NCName must be string";
                     21: const char* const XML_LOCAL_NAME_MUST_BE_STRING = "localName must be string";
                     22: 
                     23: const char* const XML_INVALID_QUALIFIED_NAME = "invalid qualifiedName '%s'";
                     24: const char* const XML_INVALID_NC_NAME = "invalid NCName '%s'";
                     25: const char* const XML_INVALID_LOCAL_NAME = "invalid localName '%s'";
1.1       paf        26: 
                     27: // includes
                     28: 
                     29: #include "pa_exception.h"
1.9       moko       30: #include "pa_request.h"
1.1       paf        31: 
                     32: // defines
                     33: 
                     34: class XmlException: public Exception {
                     35: public:
                     36: 
1.10      moko       37:        XmlException(const String* aproblem_source, const char* aproblem_comment, ...);
1.9       moko       38:        XmlException(const String* aproblem_source, Request& r);
                     39:        XmlException();
1.1       paf        40: };
                     41: 
                     42: #endif
                     43: 
                     44: #endif

E-mail: