source: NonGTP/Xerces/xerces/doc/html/apiDocs/classErrorHandler.html @ 358

Revision 358, 25.6 KB checked in by bittner, 19 years ago (diff)

xerces added

Line 
1<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>ErrorHandler class Reference</TITLE><link href="XercesApi.css" rel="stylesheet" type="text/css"></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="../resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="../resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="../resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="../graphics/api-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="../resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','../resources/button-xml-hi.gif','../resources/button-xml-lo.gif');" src="../resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','../resources/button-asf-hi.gif','../resources/button-asf-lo.gif');" src="../resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','../resources/button-w3c-hi.gif','../resources/button-w3c-lo.gif');" src="../resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="../resources/join.gif" vspace="0" width="120"><BR>
2  <A href="../../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','../graphics/ext-2-label-2.jpg','../graphics/ext-2-label-3.jpg');" src="../graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR>
3
4  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
5
6  <A href="../index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','../graphics/index-label-2.jpg','../graphics/index-label-3.jpg');" src="../graphics/index-label-3.jpg" vspace="0" width="120"></A><BR>
7  <A href="../releases.html" onMouseOut="rolloverOff('side-releases');" onMouseOver="rolloverOn('side-releases');"><IMG alt="Release Info" border="0" height="12" hspace="0" name="side-releases" onLoad="rolloverLoad('side-releases','../graphics/releases-label-2.jpg','../graphics/releases-label-3.jpg');" src="../graphics/releases-label-3.jpg" vspace="0" width="120"></A><BR>
8  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
9  <A href="../install.html" onMouseOut="rolloverOff('side-install');" onMouseOver="rolloverOn('side-install');"><IMG alt="Installation" border="0" height="12" hspace="0" name="side-install" onLoad="rolloverLoad('side-install','../graphics/install-label-2.jpg','../graphics/install-label-3.jpg');" src="../graphics/install-label-3.jpg" vspace="0" width="120"></A><BR>
10  <A href="http://xml.apache.org/dist/xerces-c/" onMouseOut="rolloverOff('side-ext-18');" onMouseOver="rolloverOn('side-ext-18');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-18" onLoad="rolloverLoad('side-ext-18','../graphics/ext-18-label-2.jpg','../graphics/ext-18-label-3.jpg');" src="../graphics/ext-18-label-3.jpg" vspace="0" width="120"></A><BR>
11  <A href="../build.html" onMouseOut="rolloverOff('side-build');" onMouseOver="rolloverOn('side-build');"><IMG alt="Build" border="0" height="12" hspace="0" name="side-build" onLoad="rolloverLoad('side-build','../graphics/build-label-2.jpg','../graphics/build-label-3.jpg');" src="../graphics/build-label-3.jpg" vspace="0" width="120"></A><BR>
12
13  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
14  <A href="../faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','../graphics/faqs-label-2.jpg','../graphics/faqs-label-3.jpg');" src="../graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> 
15  <A href="../samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Samples" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','../graphics/samples-label-2.jpg','../graphics/samples-label-3.jpg');" src="../graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>
16  <A href="../api.html" onMouseOut="rolloverOff('side-api');" onMouseOver="rolloverOn('side-api');"><IMG alt="API Docs" border="0" height="12" hspace="0" name="side-api" onLoad="rolloverLoad('side-api','../graphics/api-label-2.jpg','../graphics/api-label-3.jpg');" src="../graphics/api-label-3.jpg" vspace="0" width="120"></A><BR> 
17
18  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> 
19  <A href="../ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-68');" onMouseOver="rolloverOn('side-ext-68');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-68" onLoad="rolloverLoad('side-ext-68','../graphics/ext-68-label-2.jpg','../graphics/ext-68-label-3.jpg');" src="../graphics/ext-68-label-3.jpg" vspace="0" width="120"></A><BR>
20
21  <A href="../program.html" onMouseOut="rolloverOff('side-program');" onMouseOver="rolloverOn('side-program');"><IMG alt="Programming" border="0" height="12" hspace="0" name="side-program" onLoad="rolloverLoad('side-program','../graphics/program-label-2.jpg','../graphics/program-label-3.jpg');" src="../graphics/program-label-3.jpg" vspace="0" width="120"></A><BR>
22  <A href="../migrate.html" onMouseOut="rolloverOff('side-migrate');" onMouseOver="rolloverOn('side-migrate');"><IMG alt="Migration Guide" border="0" height="12" hspace="0" name="side-migrate" onLoad="rolloverLoad('side-migrate','../graphics/migrate-label-2.jpg','../graphics/migrate-label-3.jpg');" src="../graphics/migrate-label-3.jpg" vspace="0" width="120"></A><BR>
23
24  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
25
26  <A href="../feedback.html" onMouseOut="rolloverOff('side-feedback');" onMouseOver="rolloverOn('side-feedback');"><IMG alt="Feedback" border="0" height="12" hspace="0" name="side-feedback" onLoad="rolloverLoad('side-feedback','../graphics/feedback-label-2.jpg','../graphics/feedback-label-3.jpg');" src="../graphics/feedback-label-3.jpg" vspace="0" width="120"></A><BR>
27  <A href="../bug-report.html" onMouseOut="rolloverOff('side-bug-report');" onMouseOver="rolloverOn('side-bug-report');"><IMG alt="Bug-Reporting" border="0" height="12" hspace="0" name="side-bug-report" onLoad="rolloverLoad('side-bug-report','../graphics/bug-report-label-2.jpg','../graphics/bug-report-label-3.jpg');" src="../graphics/bug-report-label-3.jpg" vspace="0" width="120"></A><BR> 
28  <A href="../pdf.html" onMouseOut="rolloverOff('side-pdf');" onMouseOver="rolloverOn('side-pdf');"><IMG alt="PDF Document" border="0" height="12" hspace="0" name="side-pdf" onLoad="rolloverLoad('side-pdf','../graphics/pdf-label-2.jpg','../graphics/pdf-label-3.jpg');" src="../graphics/pdf-label-3.jpg" vspace="0" width="120"></A><BR>
29
30  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
31
32  <A href="http://xml.apache.org/websrc/cvsweb.cgi/xml-xerces/c/" onMouseOut="rolloverOff('side-ext-100');" onMouseOver="rolloverOn('side-ext-100');"><IMG alt="CVS Repository" border="0" height="12" hspace="0" name="side-ext-100" onLoad="rolloverLoad('side-ext-100','../graphics/ext-100-label-2.jpg','../graphics/ext-100-label-3.jpg');" src="../graphics/ext-100-label-3.jpg" vspace="0" width="120"></A><BR>
33
34  <A href="http://marc.theaimsgroup.com/?l=xerces-c-dev" onMouseOut="rolloverOff('side-ext-102');" onMouseOver="rolloverOn('side-ext-102');"><IMG alt="Mail Archive" border="0" height="12" hspace="0" name="side-ext-102" onLoad="rolloverLoad('side-ext-102','../graphics/ext-102-label-2.jpg','../graphics/ext-102-label-3.jpg');" src="../graphics/ext-102-label-3.jpg" vspace="0" width="120"></A><BR>
35
36
37<IMG border="0" height="14" hspace="0" src="../resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD>
38    <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#FFFFFF" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="../resources/void.gif" vspace="0" width="2"><B>API Docs for SAX and DOM</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
39
40            <P>
41<!-- Generated by Doxygen 1.2.14 -->
42<center>
43<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
44<hr><h1>ErrorHandler  Class Reference</h1>Basic interface for SAX error handlers.
45<a href="#_details">More...</a>
46<p>
47Inheritance diagram for ErrorHandler:<p><center><img src="classErrorHandler__inherit__graph.gif" border="0" usemap="#ErrorHandler__inherit__map" alt="Inheritance graph"></center>
48<map name="ErrorHandler__inherit__map">
49<area href="classDefaultHandler.html" shape="rect" coords="7,105,105,87" alt="">
50<area href="classHandlerBase.html" shape="rect" coords="129,105,215,87" alt="">
51</map>
52<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classErrorHandler-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
53<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
54<tr><td colspan="2"><div class="groupHeader">Constructors and Destructor</div></td></tr>
55<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classErrorHandler.html#z426_0">ErrorHandler</a> ()</td></tr>
56<tr><td>&nbsp;</td><td><font size=-1><em>Default constructor.</em> <a href="#z426_0">More...</a><em></em></font><br><br></td></tr>
57<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classErrorHandler.html#z426_1">~ErrorHandler</a> ()</td></tr>
58<tr><td>&nbsp;</td><td><font size=-1><em>Desctructor.</em> <a href="#z426_1">More...</a><em></em></font><br><br></td></tr>
59<tr><td colspan="2"><div class="groupHeader">The error handler interface</div></td></tr>
60<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classErrorHandler.html#z427_0">warning</a> (const <a class="el" href="classSAXParseException.html">SAXParseException</a> &amp;exc)=0</td></tr>
61<tr><td>&nbsp;</td><td><font size=-1><em>Receive notification of a warning.</em> <a href="#z427_0">More...</a><em></em></font><br><br></td></tr>
62<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classErrorHandler.html#z427_1">error</a> (const <a class="el" href="classSAXParseException.html">SAXParseException</a> &amp;exc)=0</td></tr>
63<tr><td>&nbsp;</td><td><font size=-1><em>Receive notification of a recoverable error.</em> <a href="#z427_1">More...</a><em></em></font><br><br></td></tr>
64<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classErrorHandler.html#z427_2">fatalError</a> (const <a class="el" href="classSAXParseException.html">SAXParseException</a> &amp;exc)=0</td></tr>
65<tr><td>&nbsp;</td><td><font size=-1><em>Receive notification of a non-recoverable error.</em> <a href="#z427_2">More...</a><em></em></font><br><br></td></tr>
66<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classErrorHandler.html#z427_3">resetErrors</a> ()=0</td></tr>
67<tr><td>&nbsp;</td><td><font size=-1><em>Reset the Error handler object on its reuse.</em> <a href="#z427_3">More...</a><em></em></font><br><br></td></tr>
68</table>
69<hr><a name="_details"></a><h2>Detailed Description</h2>
70Basic interface for SAX error handlers.
71<p>
72
73<p>
74If a SAX application needs to implement customized error handling, it must implement this interface and then register an instance with the SAX parser using the parser's setErrorHandler method. The parser will then report all errors and warnings through this interface.
75<p>
76
77<p>
78 The parser shall use this interface instead of throwing an exception: it is up to the application whether to throw an exception for different types of errors and warnings. Note, however, that there is no requirement that the parser continue to provide useful information after a call to fatalError (in other words, a SAX driver class could catch an exception and report a fatalError).
79<p>
80
81<p>
82The <a class="el" href="classHandlerBase.html">HandlerBase</a> class provides a default implementation of this interface, ignoring warnings and recoverable errors and throwing a <a class="el" href="classSAXParseException.html">SAXParseException</a> for fatal errors. An application may extend that class rather than implementing the complete interface itself.
83<p>
84<dl compact><dt><b>
85See also: </b><dd>
86<a class="el" href="classParser.html#z441_3">Parser::setErrorHandler</a> , <a class="el" href="classSAXParseException.html#z445_0">SAXParseException::SAXParseException</a> , <a class="el" href="classHandlerBase.html#a0">HandlerBase::HandlerBase</a> </dl>
87<p>
88<hr><h2>Constructor &amp; Destructor Documentation</h2>
89<a name="z426_0" doxytag="ErrorHandler::ErrorHandler"></a><p>
90<table width="100%" cellpadding="2" cellspacing="0" border="0">
91  <tr>
92    <td class="md">
93      <table cellpadding="0" cellspacing="0" border="0">
94        <tr>
95          <td class="md" nowrap valign="top"> ErrorHandler::ErrorHandler </td>
96          <td class="md" valign="top">(&nbsp;</td>
97          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
98          <td class="md" valign="top">)&nbsp;</td>
99          <td class="md" nowrap></td>
100        </tr>
101
102      </table>
103    </td>
104  </tr>
105</table>
106<table cellspacing=5 cellpadding=0 border=0>
107  <tr>
108    <td>
109      &nbsp;
110    </td>
111    <td>
112
113<p>
114Default constructor.
115<p>
116    </td>
117  </tr>
118</table>
119<a name="z426_1" doxytag="ErrorHandler::~ErrorHandler"></a><p>
120<table width="100%" cellpadding="2" cellspacing="0" border="0">
121  <tr>
122    <td class="md">
123      <table cellpadding="0" cellspacing="0" border="0">
124        <tr>
125          <td class="md" nowrap valign="top"> virtual ErrorHandler::~ErrorHandler </td>
126          <td class="md" valign="top">(&nbsp;</td>
127          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
128          <td class="md" valign="top">)&nbsp;</td>
129          <td class="md" nowrap><code> [virtual]</code></td>
130        </tr>
131
132      </table>
133    </td>
134  </tr>
135</table>
136<table cellspacing=5 cellpadding=0 border=0>
137  <tr>
138    <td>
139      &nbsp;
140    </td>
141    <td>
142
143<p>
144Desctructor.
145<p>
146    </td>
147  </tr>
148</table>
149<hr><h2>Member Function Documentation</h2>
150<a name="z427_1" doxytag="ErrorHandler::error"></a><p>
151<table width="100%" cellpadding="2" cellspacing="0" border="0">
152  <tr>
153    <td class="md">
154      <table cellpadding="0" cellspacing="0" border="0">
155        <tr>
156          <td class="md" nowrap valign="top"> virtual void ErrorHandler::error </td>
157          <td class="md" valign="top">(&nbsp;</td>
158          <td class="md" nowrap valign="top">const <a class="el" href="classSAXParseException.html">SAXParseException</a> &amp;&nbsp;</td>
159          <td class="mdname1" valign="top" nowrap>&nbsp; <em>exc</em>          </td>
160          <td class="md" valign="top">)&nbsp;</td>
161          <td class="md" nowrap><code> [pure virtual]</code></td>
162        </tr>
163
164      </table>
165    </td>
166  </tr>
167</table>
168<table cellspacing=5 cellpadding=0 border=0>
169  <tr>
170    <td>
171      &nbsp;
172    </td>
173    <td>
174
175<p>
176Receive notification of a recoverable error.
177<p>
178
179<p>
180This corresponds to the definition of "error" in section 1.2 of the W3C XML 1.0 Recommendation. For example, a validating parser would use this callback to report the violation of a validity constraint. The default behaviour is to take no action.
181<p>
182
183<p>
184The SAX parser must continue to provide normal parsing events after invoking this method: it should still be possible for the application to process the document through to the end. If the application cannot do so, then the parser should report a fatal error even if the XML 1.0 recommendation does not require it to do so.<dl compact><dt><b>
185Parameters: </b><dd>
186<table border=0 cellspacing=2 cellpadding=0>
187<tr><td valign=top><em>exc</em>&nbsp;</td><td>
188The error information encapsulated in a SAX parse exception. </td></tr>
189</table>
190</dl><dl compact><dt><b>
191Exceptions: </b><dd>
192<table border=0 cellspacing=2 cellpadding=0>
193<tr><td valign=top><em><a class="el" href="classSAXException.html">SAXException</a></em>&nbsp;</td><td>
194 Any SAX exception, possibly wrapping another exception. </td></tr>
195</table>
196</dl><dl compact><dt><b>
197See also: </b><dd>
198<a class="el" href="classSAXParseException.html#z445_0">SAXParseException::SAXParseException</a> </dl>
199<p>
200Implemented in <a class="el" href="classHandlerBase.html#z431_0">HandlerBase</a>.    </td>
201  </tr>
202</table>
203<a name="z427_2" doxytag="ErrorHandler::fatalError"></a><p>
204<table width="100%" cellpadding="2" cellspacing="0" border="0">
205  <tr>
206    <td class="md">
207      <table cellpadding="0" cellspacing="0" border="0">
208        <tr>
209          <td class="md" nowrap valign="top"> virtual void ErrorHandler::fatalError </td>
210          <td class="md" valign="top">(&nbsp;</td>
211          <td class="md" nowrap valign="top">const <a class="el" href="classSAXParseException.html">SAXParseException</a> &amp;&nbsp;</td>
212          <td class="mdname1" valign="top" nowrap>&nbsp; <em>exc</em>          </td>
213          <td class="md" valign="top">)&nbsp;</td>
214          <td class="md" nowrap><code> [pure virtual]</code></td>
215        </tr>
216
217      </table>
218    </td>
219  </tr>
220</table>
221<table cellspacing=5 cellpadding=0 border=0>
222  <tr>
223    <td>
224      &nbsp;
225    </td>
226    <td>
227
228<p>
229Receive notification of a non-recoverable error.
230<p>
231
232<p>
233This corresponds to the definition of "fatal error" in section 1.2 of the W3C XML 1.0 Recommendation. For example, a parser would use this callback to report the violation of a well-formedness constraint.
234<p>
235
236<p>
237The application must assume that the document is unusable after the parser has invoked this method, and should continue (if at all) only for the sake of collecting addition error messages: in fact, SAX parsers are free to stop reporting any other events once this method has been invoked.<dl compact><dt><b>
238Parameters: </b><dd>
239<table border=0 cellspacing=2 cellpadding=0>
240<tr><td valign=top><em>exc</em>&nbsp;</td><td>
241The error information encapsulated in a SAX parse exception. </td></tr>
242</table>
243</dl><dl compact><dt><b>
244Exceptions: </b><dd>
245<table border=0 cellspacing=2 cellpadding=0>
246<tr><td valign=top><em><a class="el" href="classSAXException.html">SAXException</a></em>&nbsp;</td><td>
247 Any SAX exception, possibly wrapping another exception. </td></tr>
248</table>
249</dl><dl compact><dt><b>
250See also: </b><dd>
251<a class="el" href="classSAXParseException.html#z445_0">SAXParseException::SAXParseException</a> </dl>
252<p>
253Implemented in <a class="el" href="classHandlerBase.html#z431_1">HandlerBase</a>.    </td>
254  </tr>
255</table>
256<a name="z427_3" doxytag="ErrorHandler::resetErrors"></a><p>
257<table width="100%" cellpadding="2" cellspacing="0" border="0">
258  <tr>
259    <td class="md">
260      <table cellpadding="0" cellspacing="0" border="0">
261        <tr>
262          <td class="md" nowrap valign="top"> virtual void ErrorHandler::resetErrors </td>
263          <td class="md" valign="top">(&nbsp;</td>
264          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
265          <td class="md" valign="top">)&nbsp;</td>
266          <td class="md" nowrap><code> [pure virtual]</code></td>
267        </tr>
268
269      </table>
270    </td>
271  </tr>
272</table>
273<table cellspacing=5 cellpadding=0 border=0>
274  <tr>
275    <td>
276      &nbsp;
277    </td>
278    <td>
279
280<p>
281Reset the Error handler object on its reuse.
282<p>
283
284<p>
285This method helps in reseting the Error handler object implementational defaults each time the Error handler is begun.
286<p>
287Implemented in <a class="el" href="classHandlerBase.html#z431_3">HandlerBase</a>.    </td>
288  </tr>
289</table>
290<a name="z427_0" doxytag="ErrorHandler::warning"></a><p>
291<table width="100%" cellpadding="2" cellspacing="0" border="0">
292  <tr>
293    <td class="md">
294      <table cellpadding="0" cellspacing="0" border="0">
295        <tr>
296          <td class="md" nowrap valign="top"> virtual void ErrorHandler::warning </td>
297          <td class="md" valign="top">(&nbsp;</td>
298          <td class="md" nowrap valign="top">const <a class="el" href="classSAXParseException.html">SAXParseException</a> &amp;&nbsp;</td>
299          <td class="mdname1" valign="top" nowrap>&nbsp; <em>exc</em>          </td>
300          <td class="md" valign="top">)&nbsp;</td>
301          <td class="md" nowrap><code> [pure virtual]</code></td>
302        </tr>
303
304      </table>
305    </td>
306  </tr>
307</table>
308<table cellspacing=5 cellpadding=0 border=0>
309  <tr>
310    <td>
311      &nbsp;
312    </td>
313    <td>
314
315<p>
316Receive notification of a warning.
317<p>
318
319<p>
320SAX parsers will use this method to report conditions that are not errors or fatal errors as defined by the XML 1.0 recommendation. The default behaviour is to take no action.
321<p>
322
323<p>
324The SAX parser must continue to provide normal parsing events after invoking this method: it should still be possible for the application to process the document through to the end.<dl compact><dt><b>
325Parameters: </b><dd>
326<table border=0 cellspacing=2 cellpadding=0>
327<tr><td valign=top><em>exc</em>&nbsp;</td><td>
328The warning information encapsulated in a SAX parse exception. </td></tr>
329</table>
330</dl><dl compact><dt><b>
331Exceptions: </b><dd>
332<table border=0 cellspacing=2 cellpadding=0>
333<tr><td valign=top><em><a class="el" href="classSAXException.html">SAXException</a></em>&nbsp;</td><td>
334 Any SAX exception, possibly wrapping another exception. </td></tr>
335</table>
336</dl><dl compact><dt><b>
337See also: </b><dd>
338<a class="el" href="classSAXParseException.html#z445_0">SAXParseException::SAXParseException</a> </dl>
339<p>
340Implemented in <a class="el" href="classHandlerBase.html#z431_2">HandlerBase</a>.    </td>
341  </tr>
342</table>
343<hr>The documentation for this class was generated from the following file:<ul>
344<li><a class="el" href="ErrorHandler_8hpp-source.html">ErrorHandler.hpp</a></ul>
345    </FONT></TD></TR></TABLE><BR>
346</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1" alt=""></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I>
347              Copyright &copy; 1994-2004 The Apache Software Foundation.
348              All Rights Reserved.
349            </I></FONT></TD></TR></TABLE></BODY></HTML>
Note: See TracBrowser for help on using the repository browser.