Annotation of parser3/src/include/pa_xml_exception.h, revision 1.6
1.1 paf 1: /** @file
2: Parser: xml exception decls.
3:
1.4 paf 4: Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com)
1.1 paf 5: Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
6: */
7:
8: #ifndef PA_XML_EXCEPTION_H
9: #define PA_XML_EXCEPTION_H
10:
11: #ifdef XML
12:
1.6 ! misha 13: static const char * const IDENT_XML_EXCEPTION_H="$Date: 2005-12-16 10:15:12 $";
! 14:
! 15: const char* const XML_VALUE_MUST_BE_STRING = "value must be string";
! 16: const char* const XML_NAMESPACEURI_MUST_BE_STRING = "namespaceURI must be string";
! 17:
! 18: const char* const XML_QUALIFIED_NAME_MUST_BE_STRING = "qualifiedName must be string";
! 19: const char* const XML_NC_NAME_MUST_BE_STRING = "NCName must be string";
! 20: const char* const XML_LOCAL_NAME_MUST_BE_STRING = "localName must be string";
! 21:
! 22: const char* const XML_INVALID_QUALIFIED_NAME = "invalid qualifiedName '%s'";
! 23: const char* const XML_INVALID_NC_NAME = "invalid NCName '%s'";
! 24: const char* const XML_INVALID_LOCAL_NAME = "invalid localName '%s'";
1.1 paf 25:
26: // includes
27:
28: #include "pa_exception.h"
29:
30: // defines
31:
32: class XmlException: public Exception {
33: public:
34:
1.6 ! misha 35: XmlException(const String* aproblem_source, const char* aproblem_comment=0, ...);
1.1 paf 36: };
37:
38: #endif
39:
40: #endif
E-mail: