source: trunk/doc/html/qxmlparseexception.html

Last change on this file was 190, checked in by rudi, 14 years ago

reference documentation added

File size: 4.9 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/xml/qxml.cpp:215 -->
3<html>
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6<title>QXmlParseException Class</title>
7<style type="text/css"><!--
8fn { margin-left: 1cm; text-indent: -1cm; }
9a:link { color: #004faf; text-decoration: none }
10a:visited { color: #672967; text-decoration: none }
11body { background: #ffffff; color: black; }
12--></style>
13</head>
14<body>
15
16<table border="0" cellpadding="0" cellspacing="0" width="100%">
17<tr bgcolor="#E5E5E5">
18<td valign=center>
19 <a href="index.html">
20<font color="#004faf">Home</font></a>
21 | <a href="classes.html">
22<font color="#004faf">All&nbsp;Classes</font></a>
23 | <a href="mainclasses.html">
24<font color="#004faf">Main&nbsp;Classes</font></a>
25 | <a href="annotated.html">
26<font color="#004faf">Annotated</font></a>
27 | <a href="groups.html">
28<font color="#004faf">Grouped&nbsp;Classes</font></a>
29 | <a href="functions.html">
30<font color="#004faf">Functions</font></a>
31</td>
32<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QXmlParseException Class Reference<br><small>[<a href="xml.html">XML module</a>]</small></h1>
33
34<p>The QXmlParseException class is used to report errors with
35the QXmlErrorHandler interface.
36<a href="#details">More...</a>
37<p>All the functions in this class are <a href="threads.html#reentrant">reentrant</a> when Qt is built with thread support.</p>
38<p><tt>#include &lt;<a href="qxml-h.html">qxml.h</a>&gt;</tt>
39<p><a href="qxmlparseexception-members.html">List of all member functions.</a>
40<h2>Public Members</h2>
41<ul>
42<li class=fn><a href="#QXmlParseException"><b>QXmlParseException</b></a> ( const&nbsp;QString&nbsp;&amp;&nbsp;name = "", int&nbsp;c = -1, int&nbsp;l = -1, const&nbsp;QString&nbsp;&amp;&nbsp;p = "", const&nbsp;QString&nbsp;&amp;&nbsp;s = "" )</li>
43<li class=fn>int <a href="#columnNumber"><b>columnNumber</b></a> () const</li>
44<li class=fn>int <a href="#lineNumber"><b>lineNumber</b></a> () const</li>
45<li class=fn>QString <a href="#publicId"><b>publicId</b></a> () const</li>
46<li class=fn>QString <a href="#systemId"><b>systemId</b></a> () const</li>
47<li class=fn>QString <a href="#message"><b>message</b></a> () const</li>
48</ul>
49<hr><a name="details"></a><h2>Detailed Description</h2>
50
51
52
53The QXmlParseException class is used to report errors with
54the <a href="qxmlerrorhandler.html">QXmlErrorHandler</a> interface.
55
56<p>
57
58<p> The XML subsystem constructs an instance of this class when it
59detects an error. You can retrieve the place where the error
60occurred using <a href="#systemId">systemId</a>(), <a href="#publicId">publicId</a>(), <a href="#lineNumber">lineNumber</a>() and
61<a href="#columnNumber">columnNumber</a>(), along with the error <a href="#message">message</a>().
62<p> <p>See also <a href="qxmlerrorhandler.html">QXmlErrorHandler</a>, <a href="qxmlreader.html">QXmlReader</a>, and <a href="xml-tools.html">XML</a>.
63
64<hr><h2>Member Function Documentation</h2>
65<h3 class=fn><a name="QXmlParseException"></a>QXmlParseException::QXmlParseException ( const&nbsp;<a href="qstring.html">QString</a>&nbsp;&amp;&nbsp;name = "", int&nbsp;c = -1, int&nbsp;l = -1, const&nbsp;<a href="qstring.html">QString</a>&nbsp;&amp;&nbsp;p = "", const&nbsp;<a href="qstring.html">QString</a>&nbsp;&amp;&nbsp;s = "" )
66</h3>
67
68<p> Constructs a parse exception with the error string <em>name</em> for
69column <em>c</em> and line <em>l</em> for the public identifier <em>p</em> and the
70system identifier <em>s</em>.
71
72<h3 class=fn>int <a name="columnNumber"></a>QXmlParseException::columnNumber () const
73</h3>
74Returns the column number where the error occurred.
75
76<h3 class=fn>int <a name="lineNumber"></a>QXmlParseException::lineNumber () const
77</h3>
78Returns the line number where the error occurred.
79
80<h3 class=fn><a href="qstring.html">QString</a> <a name="message"></a>QXmlParseException::message () const
81</h3>
82Returns the error message.
83
84<h3 class=fn><a href="qstring.html">QString</a> <a name="publicId"></a>QXmlParseException::publicId () const
85</h3>
86Returns the public identifier where the error occurred.
87
88<h3 class=fn><a href="qstring.html">QString</a> <a name="systemId"></a>QXmlParseException::systemId () const
89</h3>
90Returns the system identifier where the error occurred.
91
92<!-- eof -->
93<hr><p>
94This file is part of the <a href="index.html">Qt toolkit</a>.
95Copyright &copy; 1995-2007
96<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
97<table width=100% cellspacing=0 border=0><tr>
98<td>Copyright &copy; 2007
99<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
100<td align=right><div align=right>Qt 3.3.8</div>
101</table></div></address></body>
102</html>
Note: See TracBrowser for help on using the repository browser.