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

Revision 358, 35.3 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>DOMError 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>DOMError  Class Reference</h1>DOMError is an interface that describes an error.
45<a href="#_details">More...</a>
46<p>
47<a href="classDOMError-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
48<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
49<tr><td colspan="2"><div class="groupHeader">Public constants</div></td></tr>
50<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classDOMError.html#z68_0">ErrorSeverity</a> { <a class="el" href="classDOMError.html#z68_0s0">DOM_SEVERITY_WARNING</a> =  0,
51<a class="el" href="classDOMError.html#z68_0s1">DOM_SEVERITY_ERROR</a> =  1,
52<a class="el" href="classDOMError.html#z68_0s2">DOM_SEVERITY_FATAL_ERROR</a> =  2
53 }</td></tr>
54<tr><td>&nbsp;</td><td><font size=-1><em>The severity of the error described by the <code>DOMError</code>.</em> <a href="#z68_0">More...</a><em></em></font><br><br></td></tr>
55<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
56<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
57<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classDOMError.html#z67_0">~DOMError</a> ()</td></tr>
58<tr><td>&nbsp;</td><td><font size=-1><em>Destructor.</em> <a href="#z67_0">More...</a><em></em></font><br><br></td></tr>
59<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3</div></td></tr>
60<tr><td nowrap align=right valign=top>virtual short&nbsp;</td><td valign=bottom><a class="el" href="classDOMError.html#z69_0">getSeverity</a> () const=0</td></tr>
61<tr><td>&nbsp;</td><td><font size=-1><em>Get the severity of the error.</em> <a href="#z69_0">More...</a><em></em></font><br><br></td></tr>
62<tr><td nowrap align=right valign=top>virtual const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classDOMError.html#z69_1">getMessage</a> () const=0</td></tr>
63<tr><td>&nbsp;</td><td><font size=-1><em>Get the message describing the error that occured.</em> <a href="#z69_1">More...</a><em></em></font><br><br></td></tr>
64<tr><td nowrap align=right valign=top>virtual <a class="el" href="classDOMLocator.html">DOMLocator</a> *&nbsp;</td><td valign=bottom><a class="el" href="classDOMError.html#z69_2">getLocation</a> () const=0</td></tr>
65<tr><td>&nbsp;</td><td><font size=-1><em>Get the location of the error.</em> <a href="#z69_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="classDOMError.html#z69_3">getRelatedException</a> () const=0</td></tr>
67<tr><td>&nbsp;</td><td><font size=-1><em>The related platform dependent exception if any.</em> <a href="#z69_3">More...</a><em></em></font><br><br></td></tr>
68<tr><td nowrap align=right valign=top>virtual const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classDOMError.html#z69_4">getType</a> () const=0</td></tr>
69<tr><td>&nbsp;</td><td><font size=-1><em>A <code>XMLCh*</code> indicating which related data is expected in relatedData.</em> <a href="#z69_4">More...</a><em></em></font><br><br></td></tr>
70<tr><td nowrap align=right valign=top>virtual void *&nbsp;</td><td valign=bottom><a class="el" href="classDOMError.html#z69_5">getRelatedData</a> () const=0</td></tr>
71<tr><td>&nbsp;</td><td><font size=-1><em>The related DOMError.type dependent data if any.</em> <a href="#z69_5">More...</a><em></em></font><br><br></td></tr>
72<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classDOMError.html#z69_6">setSeverity</a> (const short severity)=0</td></tr>
73<tr><td>&nbsp;</td><td><font size=-1><em>Set the severity of the error.</em> <a href="#z69_6">More...</a><em></em></font><br><br></td></tr>
74<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classDOMError.html#z69_7">setMessage</a> (const XMLCh *const message)=0</td></tr>
75<tr><td>&nbsp;</td><td><font size=-1><em>Set the error message.</em> <a href="#z69_7">More...</a><em></em></font><br><br></td></tr>
76<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classDOMError.html#z69_8">setLocation</a> (<a class="el" href="classDOMLocator.html">DOMLocator</a> *const location)=0</td></tr>
77<tr><td>&nbsp;</td><td><font size=-1><em>Set the location of the error.</em> <a href="#z69_8">More...</a><em></em></font><br><br></td></tr>
78<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classDOMError.html#z69_9">setRelatedException</a> (void *exc) const=0</td></tr>
79<tr><td>&nbsp;</td><td><font size=-1><em>The related platform dependent exception if any.</em> <a href="#z69_9">More...</a><em></em></font><br><br></td></tr>
80<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classDOMError.html#z69_10">setType</a> (const XMLCh *type)=0</td></tr>
81<tr><td>&nbsp;</td><td><font size=-1><em>A <code>XMLCh*</code> indicating which related data is expected in relatedData.</em> <a href="#z69_10">More...</a><em></em></font><br><br></td></tr>
82<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classDOMError.html#z69_11">setRelatedData</a> (void *relatedData)=0</td></tr>
83<tr><td>&nbsp;</td><td><font size=-1><em>The related DOMError.type dependent data if any.</em> <a href="#z69_11">More...</a><em></em></font><br><br></td></tr>
84<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
85<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
86<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classDOMError.html#z65_0">DOMError</a> ()</td></tr>
87</table>
88<hr><a name="_details"></a><h2>Detailed Description</h2>
89DOMError is an interface that describes an error.
90<p>
91<dl compact><dt><b>
92See also: </b><dd>
93<a class="el" href="classDOMErrorHandler.html#z73_0">DOMErrorHandler::handleError</a> </dl><dl compact><dt><b>
94Since: </b><dd>
95DOM Level 3 </dl>
96<p>
97<hr><h2>Member Enumeration Documentation</h2>
98<a name="z68_0" doxytag="DOMError::ErrorSeverity"></a><p>
99<table width="100%" cellpadding="2" cellspacing="0" border="0">
100  <tr>
101    <td class="md">
102      <table cellpadding="0" cellspacing="0" border="0">
103        <tr>
104          <td class="md" nowrap valign="top"> enum DOMError::ErrorSeverity
105      </table>
106    </td>
107  </tr>
108</table>
109<table cellspacing=5 cellpadding=0 border=0>
110  <tr>
111    <td>
112      &nbsp;
113    </td>
114    <td>
115
116<p>
117The severity of the error described by the <code>DOMError</code>.
118<p>
119<dl compact><dt><b>
120Since: </b><dd>
121DOM Level 3 </dl><dl compact><dt><b>
122Enumeration values:</b><dd>
123<table border=0 cellspacing=2 cellpadding=0>
124<tr><td valign=top><em><a name="z68_0s0" doxytag="DOM_SEVERITY_WARNING"></a><em>DOM_SEVERITY_WARNING</em></em>&nbsp;</td><td>
125</td></tr>
126<tr><td valign=top><em><a name="z68_0s1" doxytag="DOM_SEVERITY_ERROR"></a><em>DOM_SEVERITY_ERROR</em></em>&nbsp;</td><td>
127</td></tr>
128<tr><td valign=top><em><a name="z68_0s2" doxytag="DOM_SEVERITY_FATAL_ERROR"></a><em>DOM_SEVERITY_FATAL_ERROR</em></em>&nbsp;</td><td>
129</td></tr>
130</table>
131</dl>
132    </td>
133  </tr>
134</table>
135<hr><h2>Constructor &amp; Destructor Documentation</h2>
136<a name="z65_0" doxytag="DOMError::DOMError"></a><p>
137<table width="100%" cellpadding="2" cellspacing="0" border="0">
138  <tr>
139    <td class="md">
140      <table cellpadding="0" cellspacing="0" border="0">
141        <tr>
142          <td class="md" nowrap valign="top"> DOMError::DOMError </td>
143          <td class="md" valign="top">(&nbsp;</td>
144          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
145          <td class="md" valign="top">)&nbsp;</td>
146          <td class="md" nowrap><code> [protected]</code></td>
147        </tr>
148
149      </table>
150    </td>
151  </tr>
152</table>
153<table cellspacing=5 cellpadding=0 border=0>
154  <tr>
155    <td>
156      &nbsp;
157    </td>
158    <td>
159
160<p>
161    </td>
162  </tr>
163</table>
164<a name="z67_0" doxytag="DOMError::~DOMError"></a><p>
165<table width="100%" cellpadding="2" cellspacing="0" border="0">
166  <tr>
167    <td class="md">
168      <table cellpadding="0" cellspacing="0" border="0">
169        <tr>
170          <td class="md" nowrap valign="top"> virtual DOMError::~DOMError </td>
171          <td class="md" valign="top">(&nbsp;</td>
172          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
173          <td class="md" valign="top">)&nbsp;</td>
174          <td class="md" nowrap><code> [virtual]</code></td>
175        </tr>
176
177      </table>
178    </td>
179  </tr>
180</table>
181<table cellspacing=5 cellpadding=0 border=0>
182  <tr>
183    <td>
184      &nbsp;
185    </td>
186    <td>
187
188<p>
189Destructor.
190<p>
191    </td>
192  </tr>
193</table>
194<hr><h2>Member Function Documentation</h2>
195<a name="z69_2" doxytag="DOMError::getLocation"></a><p>
196<table width="100%" cellpadding="2" cellspacing="0" border="0">
197  <tr>
198    <td class="md">
199      <table cellpadding="0" cellspacing="0" border="0">
200        <tr>
201          <td class="md" nowrap valign="top"> virtual <a class="el" href="classDOMLocator.html">DOMLocator</a>* DOMError::getLocation </td>
202          <td class="md" valign="top">(&nbsp;</td>
203          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
204          <td class="md" valign="top">)&nbsp;</td>
205          <td class="md" nowrap> const<code> [pure virtual]</code></td>
206        </tr>
207
208      </table>
209    </td>
210  </tr>
211</table>
212<table cellspacing=5 cellpadding=0 border=0>
213  <tr>
214    <td>
215      &nbsp;
216    </td>
217    <td>
218
219<p>
220Get the location of the error.
221<p>
222
223<p>
224<b>"Experimental - subject to change"</b>
225<p>
226<dl compact><dt><b>
227See also: </b><dd>
228<a class="el" href="classDOMError.html#z69_8">setLocation</a> </dl><dl compact><dt><b>
229Since: </b><dd>
230DOM Level 3 </dl>    </td>
231  </tr>
232</table>
233<a name="z69_1" doxytag="DOMError::getMessage"></a><p>
234<table width="100%" cellpadding="2" cellspacing="0" border="0">
235  <tr>
236    <td class="md">
237      <table cellpadding="0" cellspacing="0" border="0">
238        <tr>
239          <td class="md" nowrap valign="top"> virtual const XMLCh* DOMError::getMessage </td>
240          <td class="md" valign="top">(&nbsp;</td>
241          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
242          <td class="md" valign="top">)&nbsp;</td>
243          <td class="md" nowrap> const<code> [pure virtual]</code></td>
244        </tr>
245
246      </table>
247    </td>
248  </tr>
249</table>
250<table cellspacing=5 cellpadding=0 border=0>
251  <tr>
252    <td>
253      &nbsp;
254    </td>
255    <td>
256
257<p>
258Get the message describing the error that occured.
259<p>
260
261<p>
262<b>"Experimental - subject to change"</b>
263<p>
264<dl compact><dt><b>
265See also: </b><dd>
266<a class="el" href="classDOMError.html#z69_7">setMessage</a> </dl><dl compact><dt><b>
267Since: </b><dd>
268DOM Level 3 </dl>    </td>
269  </tr>
270</table>
271<a name="z69_5" doxytag="DOMError::getRelatedData"></a><p>
272<table width="100%" cellpadding="2" cellspacing="0" border="0">
273  <tr>
274    <td class="md">
275      <table cellpadding="0" cellspacing="0" border="0">
276        <tr>
277          <td class="md" nowrap valign="top"> virtual void* DOMError::getRelatedData </td>
278          <td class="md" valign="top">(&nbsp;</td>
279          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
280          <td class="md" valign="top">)&nbsp;</td>
281          <td class="md" nowrap> const<code> [pure virtual]</code></td>
282        </tr>
283
284      </table>
285    </td>
286  </tr>
287</table>
288<table cellspacing=5 cellpadding=0 border=0>
289  <tr>
290    <td>
291      &nbsp;
292    </td>
293    <td>
294
295<p>
296The related DOMError.type dependent data if any.
297<p>
298
299<p>
300<b>"Experimental - subject to change"</b>
301<p>
302<dl compact><dt><b>
303See also: </b><dd>
304<a class="el" href="classDOMError.html#z69_11">setRelatedData</a> </dl><dl compact><dt><b>
305Since: </b><dd>
306DOM Level 3 </dl>    </td>
307  </tr>
308</table>
309<a name="z69_3" doxytag="DOMError::getRelatedException"></a><p>
310<table width="100%" cellpadding="2" cellspacing="0" border="0">
311  <tr>
312    <td class="md">
313      <table cellpadding="0" cellspacing="0" border="0">
314        <tr>
315          <td class="md" nowrap valign="top"> virtual void* DOMError::getRelatedException </td>
316          <td class="md" valign="top">(&nbsp;</td>
317          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
318          <td class="md" valign="top">)&nbsp;</td>
319          <td class="md" nowrap> const<code> [pure virtual]</code></td>
320        </tr>
321
322      </table>
323    </td>
324  </tr>
325</table>
326<table cellspacing=5 cellpadding=0 border=0>
327  <tr>
328    <td>
329      &nbsp;
330    </td>
331    <td>
332
333<p>
334The related platform dependent exception if any.
335<p>
336
337<p>
338<b>"Experimental - subject to change"</b>
339<p>
340<dl compact><dt><b>
341See also: </b><dd>
342<a class="el" href="classDOMError.html#z69_9">setRelatedException</a> </dl><dl compact><dt><b>
343Since: </b><dd>
344DOM Level 3 </dl>    </td>
345  </tr>
346</table>
347<a name="z69_0" doxytag="DOMError::getSeverity"></a><p>
348<table width="100%" cellpadding="2" cellspacing="0" border="0">
349  <tr>
350    <td class="md">
351      <table cellpadding="0" cellspacing="0" border="0">
352        <tr>
353          <td class="md" nowrap valign="top"> virtual short DOMError::getSeverity </td>
354          <td class="md" valign="top">(&nbsp;</td>
355          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
356          <td class="md" valign="top">)&nbsp;</td>
357          <td class="md" nowrap> const<code> [pure virtual]</code></td>
358        </tr>
359
360      </table>
361    </td>
362  </tr>
363</table>
364<table cellspacing=5 cellpadding=0 border=0>
365  <tr>
366    <td>
367      &nbsp;
368    </td>
369    <td>
370
371<p>
372Get the severity of the error.
373<p>
374
375<p>
376<b>"Experimental - subject to change"</b>
377<p>
378<dl compact><dt><b>
379See also: </b><dd>
380<a class="el" href="classDOMError.html#z69_6">setSeverity</a> </dl><dl compact><dt><b>
381Since: </b><dd>
382DOM Level 3 </dl>    </td>
383  </tr>
384</table>
385<a name="z69_4" doxytag="DOMError::getType"></a><p>
386<table width="100%" cellpadding="2" cellspacing="0" border="0">
387  <tr>
388    <td class="md">
389      <table cellpadding="0" cellspacing="0" border="0">
390        <tr>
391          <td class="md" nowrap valign="top"> virtual const XMLCh* DOMError::getType </td>
392          <td class="md" valign="top">(&nbsp;</td>
393          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
394          <td class="md" valign="top">)&nbsp;</td>
395          <td class="md" nowrap> const<code> [pure virtual]</code></td>
396        </tr>
397
398      </table>
399    </td>
400  </tr>
401</table>
402<table cellspacing=5 cellpadding=0 border=0>
403  <tr>
404    <td>
405      &nbsp;
406    </td>
407    <td>
408
409<p>
410A <code>XMLCh*</code> indicating which related data is expected in relatedData.
411<p>
412Users should refer to the specification of the error in order to find its <code>XMLCh*</code> type and relatedData definitions if any.
413<p>
414Note: As an example, [DOM Level 3 Load and Save] does not keep the [baseURI] property defined on a Processing Instruction information item. Therefore, the <a class="el" href="classDOMBuilder.html">DOMBuilder</a> generates a SEVERITY_WARNING with type  "infoset-baseURI" and the lost [baseURI] property represented as a DOMString in the relatedData attribute.
415<p>
416
417<p>
418<b>"Experimental - subject to change"</b>
419<p>
420<dl compact><dt><b>
421See also: </b><dd>
422<a class="el" href="classDOMError.html#z69_10">setType</a> </dl><dl compact><dt><b>
423Since: </b><dd>
424DOM Level 3 </dl>    </td>
425  </tr>
426</table>
427<a name="z69_8" doxytag="DOMError::setLocation"></a><p>
428<table width="100%" cellpadding="2" cellspacing="0" border="0">
429  <tr>
430    <td class="md">
431      <table cellpadding="0" cellspacing="0" border="0">
432        <tr>
433          <td class="md" nowrap valign="top"> virtual void DOMError::setLocation </td>
434          <td class="md" valign="top">(&nbsp;</td>
435          <td class="md" nowrap valign="top"><a class="el" href="classDOMLocator.html">DOMLocator</a> *const&nbsp;</td>
436          <td class="mdname1" valign="top" nowrap>&nbsp; <em>location</em>          </td>
437          <td class="md" valign="top">)&nbsp;</td>
438          <td class="md" nowrap><code> [pure virtual]</code></td>
439        </tr>
440
441      </table>
442    </td>
443  </tr>
444</table>
445<table cellspacing=5 cellpadding=0 border=0>
446  <tr>
447    <td>
448      &nbsp;
449    </td>
450    <td>
451
452<p>
453Set the location of the error.
454<p>
455
456<p>
457<b>"Experimental - subject to change"</b><dl compact><dt><b>
458Parameters: </b><dd>
459<table border=0 cellspacing=2 cellpadding=0>
460<tr><td valign=top><em>location</em>&nbsp;</td><td>
461the location of the error to set. </td></tr>
462</table>
463</dl><dl compact><dt><b>
464See also: </b><dd>
465<a class="el" href="classDOMError.html#z69_2">getLocation</a> </dl><dl compact><dt><b>
466Since: </b><dd>
467DOM Level 3 </dl>    </td>
468  </tr>
469</table>
470<a name="z69_7" doxytag="DOMError::setMessage"></a><p>
471<table width="100%" cellpadding="2" cellspacing="0" border="0">
472  <tr>
473    <td class="md">
474      <table cellpadding="0" cellspacing="0" border="0">
475        <tr>
476          <td class="md" nowrap valign="top"> virtual void DOMError::setMessage </td>
477          <td class="md" valign="top">(&nbsp;</td>
478          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
479          <td class="mdname1" valign="top" nowrap>&nbsp; <em>message</em>          </td>
480          <td class="md" valign="top">)&nbsp;</td>
481          <td class="md" nowrap><code> [pure virtual]</code></td>
482        </tr>
483
484      </table>
485    </td>
486  </tr>
487</table>
488<table cellspacing=5 cellpadding=0 border=0>
489  <tr>
490    <td>
491      &nbsp;
492    </td>
493    <td>
494
495<p>
496Set the error message.
497<p>
498
499<p>
500<b>"Experimental - subject to change"</b><dl compact><dt><b>
501Parameters: </b><dd>
502<table border=0 cellspacing=2 cellpadding=0>
503<tr><td valign=top><em>message</em>&nbsp;</td><td>
504the error message to set. </td></tr>
505</table>
506</dl><dl compact><dt><b>
507See also: </b><dd>
508<a class="el" href="classDOMError.html#z69_1">getMessage</a> </dl><dl compact><dt><b>
509Since: </b><dd>
510DOM Level 3 </dl>    </td>
511  </tr>
512</table>
513<a name="z69_11" doxytag="DOMError::setRelatedData"></a><p>
514<table width="100%" cellpadding="2" cellspacing="0" border="0">
515  <tr>
516    <td class="md">
517      <table cellpadding="0" cellspacing="0" border="0">
518        <tr>
519          <td class="md" nowrap valign="top"> virtual void DOMError::setRelatedData </td>
520          <td class="md" valign="top">(&nbsp;</td>
521          <td class="md" nowrap valign="top">void *&nbsp;</td>
522          <td class="mdname1" valign="top" nowrap>&nbsp; <em>relatedData</em>          </td>
523          <td class="md" valign="top">)&nbsp;</td>
524          <td class="md" nowrap><code> [pure virtual]</code></td>
525        </tr>
526
527      </table>
528    </td>
529  </tr>
530</table>
531<table cellspacing=5 cellpadding=0 border=0>
532  <tr>
533    <td>
534      &nbsp;
535    </td>
536    <td>
537
538<p>
539The related DOMError.type dependent data if any.
540<p>
541
542<p>
543<b>"Experimental - subject to change"</b>
544<p>
545<dl compact><dt><b>
546See also: </b><dd>
547<a class="el" href="classDOMError.html#z69_5">getRelatedData</a> </dl><dl compact><dt><b>
548Since: </b><dd>
549DOM Level 3 </dl>    </td>
550  </tr>
551</table>
552<a name="z69_9" doxytag="DOMError::setRelatedException"></a><p>
553<table width="100%" cellpadding="2" cellspacing="0" border="0">
554  <tr>
555    <td class="md">
556      <table cellpadding="0" cellspacing="0" border="0">
557        <tr>
558          <td class="md" nowrap valign="top"> virtual void DOMError::setRelatedException </td>
559          <td class="md" valign="top">(&nbsp;</td>
560          <td class="md" nowrap valign="top">void *&nbsp;</td>
561          <td class="mdname1" valign="top" nowrap>&nbsp; <em>exc</em>          </td>
562          <td class="md" valign="top">)&nbsp;</td>
563          <td class="md" nowrap> const<code> [pure virtual]</code></td>
564        </tr>
565
566      </table>
567    </td>
568  </tr>
569</table>
570<table cellspacing=5 cellpadding=0 border=0>
571  <tr>
572    <td>
573      &nbsp;
574    </td>
575    <td>
576
577<p>
578The related platform dependent exception if any.
579<p>
580
581<p>
582<b>"Experimental - subject to change"</b><dl compact><dt><b>
583Parameters: </b><dd>
584<table border=0 cellspacing=2 cellpadding=0>
585<tr><td valign=top><em>exc</em>&nbsp;</td><td>
586the related exception to set. </td></tr>
587</table>
588</dl><dl compact><dt><b>
589See also: </b><dd>
590<a class="el" href="classDOMError.html#z69_3">getRelatedException</a> </dl><dl compact><dt><b>
591Since: </b><dd>
592DOM Level 3 </dl>    </td>
593  </tr>
594</table>
595<a name="z69_6" doxytag="DOMError::setSeverity"></a><p>
596<table width="100%" cellpadding="2" cellspacing="0" border="0">
597  <tr>
598    <td class="md">
599      <table cellpadding="0" cellspacing="0" border="0">
600        <tr>
601          <td class="md" nowrap valign="top"> virtual void DOMError::setSeverity </td>
602          <td class="md" valign="top">(&nbsp;</td>
603          <td class="md" nowrap valign="top">const short&nbsp;</td>
604          <td class="mdname1" valign="top" nowrap>&nbsp; <em>severity</em>          </td>
605          <td class="md" valign="top">)&nbsp;</td>
606          <td class="md" nowrap><code> [pure virtual]</code></td>
607        </tr>
608
609      </table>
610    </td>
611  </tr>
612</table>
613<table cellspacing=5 cellpadding=0 border=0>
614  <tr>
615    <td>
616      &nbsp;
617    </td>
618    <td>
619
620<p>
621Set the severity of the error.
622<p>
623
624<p>
625<b>"Experimental - subject to change"</b><dl compact><dt><b>
626Parameters: </b><dd>
627<table border=0 cellspacing=2 cellpadding=0>
628<tr><td valign=top><em>severity</em>&nbsp;</td><td>
629the type of the error to set </td></tr>
630</table>
631</dl><dl compact><dt><b>
632See also: </b><dd>
633<a class="el" href="classDOMError.html#z69_2">getLocation</a> </dl><dl compact><dt><b>
634Since: </b><dd>
635DOM Level 3 </dl>    </td>
636  </tr>
637</table>
638<a name="z69_10" doxytag="DOMError::setType"></a><p>
639<table width="100%" cellpadding="2" cellspacing="0" border="0">
640  <tr>
641    <td class="md">
642      <table cellpadding="0" cellspacing="0" border="0">
643        <tr>
644          <td class="md" nowrap valign="top"> virtual void DOMError::setType </td>
645          <td class="md" valign="top">(&nbsp;</td>
646          <td class="md" nowrap valign="top">const XMLCh *&nbsp;</td>
647          <td class="mdname1" valign="top" nowrap>&nbsp; <em>type</em>          </td>
648          <td class="md" valign="top">)&nbsp;</td>
649          <td class="md" nowrap><code> [pure virtual]</code></td>
650        </tr>
651
652      </table>
653    </td>
654  </tr>
655</table>
656<table cellspacing=5 cellpadding=0 border=0>
657  <tr>
658    <td>
659      &nbsp;
660    </td>
661    <td>
662
663<p>
664A <code>XMLCh*</code> indicating which related data is expected in relatedData.
665<p>
666Users should refer to the specification of the error in order to find its <code>XMLCh*</code> type and relatedData definitions if any.
667<p>
668Note: As an example, [DOM Level 3 Load and Save] does not keep the [baseURI] property defined on a Processing Instruction information item. Therefore, the <a class="el" href="classDOMBuilder.html">DOMBuilder</a> generates a SEVERITY_WARNING with type  "infoset-baseURI" and the lost [baseURI] property represented as a DOMString in the relatedData attribute.
669<p>
670
671<p>
672<b>"Experimental - subject to change"</b>
673<p>
674<dl compact><dt><b>
675See also: </b><dd>
676<a class="el" href="classDOMError.html#z69_4">getType</a> </dl><dl compact><dt><b>
677Since: </b><dd>
678DOM Level 3 </dl>    </td>
679  </tr>
680</table>
681<hr>The documentation for this class was generated from the following file:<ul>
682<li><a class="el" href="DOMError_8hpp-source.html">DOMError.hpp</a></ul>
683    </FONT></TD></TR></TABLE><BR>
684</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>
685              Copyright &copy; 1994-2004 The Apache Software Foundation.
686              All Rights Reserved.
687            </I></FONT></TD></TR></TABLE></BODY></HTML>
Note: See TracBrowser for help on using the repository browser.