1QXmlParseException(3qt) QXmlParseException(3qt)
2
3
4
6 QXmlParseException - Used to report errors with the QXmlErrorHandler
7 interface
8
10 All the functions in this class are reentrant when Qt is built with
11 thread support.</p>
12
13 #include <qxml.h>
14
15 Public Members
16 QXmlParseException ( const QString & name = "", int c = -1, int l = -1,
17 const QString & p = "", const QString & s = "" )
18 int columnNumber () const
19 int lineNumber () const
20 QString publicId () const
21 QString systemId () const
22 QString message () const
23
25 The QXmlParseException class is used to report errors with the
26 QXmlErrorHandler interface.
27
28 The XML subsystem constructs an instance of this class when it detects
29 an error. You can retrieve the place where the error occurred using
30 systemId(), publicId(), lineNumber() and columnNumber(), along with the
31 error message().
32
33 See also QXmlErrorHandler, QXmlReader, and XML.
34
37 int l = -1, const QString & p = ", const QString & s = " )
38 Constructs a parse exception with the error string name for column c
39 and line l for the public identifier p and the system identifier s.
40
42 Returns the column number where the error occurred.
43
45 Returns the line number where the error occurred.
46
48 Returns the error message.
49
51 Returns the public identifier where the error occurred.
52
54 Returns the system identifier where the error occurred.
55
56
58 http://doc.trolltech.com/qxmlparseexception.html
59 http://www.trolltech.com/faq/tech.html
60
62 Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
63 license file included in the distribution for a complete license
64 statement.
65
67 Generated automatically from the source code.
68
70 If you find a bug in Qt, please report it as described in
71 http://doc.trolltech.com/bughowto.html. Good bug reports help us to
72 help you. Thank you.
73
74 The definitive Qt documentation is provided in HTML format; it is
75 located at $QTDIR/doc/html and can be read using Qt Assistant or with a
76 web browser. This man page is provided as a convenience for those users
77 who prefer man pages, although this format is not officially supported
78 by Trolltech.
79
80 If you find errors in this manual page, please report them to qt-
81 bugs@trolltech.com. Please include the name of the manual page
82 (qxmlparseexception.3qt) and the Qt version (3.3.8).
83
84
85
86Trolltech AS 2 February 2007 QXmlParseException(3qt)