[190] | 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"><!--
|
---|
| 8 | fn { margin-left: 1cm; text-indent: -1cm; }
|
---|
| 9 | a:link { color: #004faf; text-decoration: none }
|
---|
| 10 | a:visited { color: #672967; text-decoration: none }
|
---|
| 11 | body { 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 Classes</font></a>
|
---|
| 23 | | <a href="mainclasses.html">
|
---|
| 24 | <font color="#004faf">Main 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 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
|
---|
| 35 | the 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 <<a href="qxml-h.html">qxml.h</a>></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 QString & name = "", int c = -1, int l = -1, const QString & p = "", const QString & 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 |
|
---|
| 53 | The QXmlParseException class is used to report errors with
|
---|
| 54 | the <a href="qxmlerrorhandler.html">QXmlErrorHandler</a> interface.
|
---|
| 55 |
|
---|
| 56 | <p>
|
---|
| 57 |
|
---|
| 58 | <p> The XML subsystem constructs an instance of this class when it
|
---|
| 59 | detects an error. You can retrieve the place where the error
|
---|
| 60 | occurred 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 <a href="qstring.html">QString</a> & name = "", int c = -1, int l = -1, const <a href="qstring.html">QString</a> & p = "", const <a href="qstring.html">QString</a> & s = "" )
|
---|
| 66 | </h3>
|
---|
| 67 |
|
---|
| 68 | <p> Constructs a parse exception with the error string <em>name</em> for
|
---|
| 69 | column <em>c</em> and line <em>l</em> for the public identifier <em>p</em> and the
|
---|
| 70 | system identifier <em>s</em>.
|
---|
| 71 |
|
---|
| 72 | <h3 class=fn>int <a name="columnNumber"></a>QXmlParseException::columnNumber () const
|
---|
| 73 | </h3>
|
---|
| 74 | Returns the column number where the error occurred.
|
---|
| 75 |
|
---|
| 76 | <h3 class=fn>int <a name="lineNumber"></a>QXmlParseException::lineNumber () const
|
---|
| 77 | </h3>
|
---|
| 78 | Returns 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>
|
---|
| 82 | Returns the error message.
|
---|
| 83 |
|
---|
| 84 | <h3 class=fn><a href="qstring.html">QString</a> <a name="publicId"></a>QXmlParseException::publicId () const
|
---|
| 85 | </h3>
|
---|
| 86 | Returns 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>
|
---|
| 90 | Returns the system identifier where the error occurred.
|
---|
| 91 |
|
---|
| 92 | <!-- eof -->
|
---|
| 93 | <hr><p>
|
---|
| 94 | This file is part of the <a href="index.html">Qt toolkit</a>.
|
---|
| 95 | Copyright © 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 © 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>
|
---|