1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Xerces-C++: DOMError Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li class="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>DOMError Class Reference</h1><!-- doxytag: class="DOMError" --><a class="el" href="classDOMError.html" title="DOMError is an interface that describes an error.">DOMError</a> is an interface that describes an error.
<a href="#_details">More...</a>
<p>
<p>
<a href="classDOMError-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Public constants</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMError.html#e103dba9019c82cbd9ce0afbf30cdb1a">ErrorSeverity</a> { <a class="el" href="classDOMError.html#e103dba9019c82cbd9ce0afbf30cdb1af1b200ca4a717aab6f87ea1ecdcbfe3d">DOM_SEVERITY_WARNING</a> = 1,
<a class="el" href="classDOMError.html#e103dba9019c82cbd9ce0afbf30cdb1ab9060c583802fbac601e0e7a64a5a73f">DOM_SEVERITY_ERROR</a> = 2,
<a class="el" href="classDOMError.html#e103dba9019c82cbd9ce0afbf30cdb1a7663a1c372a8333e39679d7b3dea5d97">DOM_SEVERITY_FATAL_ERROR</a> = 3
}</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The severity of the error described by the <code><a class="el" href="classDOMError.html" title="DOMError is an interface that describes an error.">DOMError</a></code>. <a href="classDOMError.html#e103dba9019c82cbd9ce0afbf30cdb1a">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMError.html#90c94b6b5d613370bf6474c4ebf32c72">~DOMError</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#90c94b6b5d613370bf6474c4ebf32c72"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classDOMError.html#e103dba9019c82cbd9ce0afbf30cdb1a">ErrorSeverity</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMError.html#abe67793597741207ff873400d203a64">getSeverity</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the severity of the error. <a href="#abe67793597741207ff873400d203a64"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMError.html#ab1dcd7a2d657d9aefcb27ddc14fbdcf">getMessage</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the message describing the error that occured. <a href="#ab1dcd7a2d657d9aefcb27ddc14fbdcf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classDOMLocator.html">DOMLocator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMError.html#33a72f6361c6eb8d4373786b5bee8c79">getLocation</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the location of the error. <a href="#33a72f6361c6eb8d4373786b5bee8c79"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMError.html#35fbeab2be3fa0828045dae20cb9b14a">getRelatedException</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The related platform dependent exception if any. <a href="#35fbeab2be3fa0828045dae20cb9b14a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMError.html#556020b5f675145302a2236ab1554b95">getType</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <code>XMLCh*</code> indicating which related data is expected in relatedData. <a href="#556020b5f675145302a2236ab1554b95"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMError.html#60cf03cb9a6862ce07eec58efb873aa3">getRelatedData</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The related <a class="el" href="classDOMError.html#556020b5f675145302a2236ab1554b95" title="A XMLCh* indicating which related data is expected in relatedData.">DOMError::getType</a> dependent data if any. <a href="#60cf03cb9a6862ce07eec58efb873aa3"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMError.html#e63e21de6b2b2b1f00d9c40a2b72fe15">DOMError</a> ()</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classDOMError.html" title="DOMError is an interface that describes an error.">DOMError</a> is an interface that describes an error.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDOMErrorHandler.html#156c98881fb79279c83f52f20ac8f5c4" title="This method is called on the error handler when an error occurs.">DOMErrorHandler::handleError</a> </dd></dl>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="e103dba9019c82cbd9ce0afbf30cdb1a"></a><!-- doxytag: member="DOMError::ErrorSeverity" ref="e103dba9019c82cbd9ce0afbf30cdb1a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classDOMError.html#e103dba9019c82cbd9ce0afbf30cdb1a">DOMError::ErrorSeverity</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The severity of the error described by the <code><a class="el" href="classDOMError.html" title="DOMError is an interface that describes an error.">DOMError</a></code>.
<p>
<code>DOM_SEVERITY_ERROR:</code> The severity of the error described by the <code><a class="el" href="classDOMError.html" title="DOMError is an interface that describes an error.">DOMError</a></code> is error. A DOM_SEVERITY_ERROR may not cause the processing to stop if the error can be recovered, unless <code><a class="el" href="classDOMErrorHandler.html#156c98881fb79279c83f52f20ac8f5c4" title="This method is called on the error handler when an error occurs.">DOMErrorHandler::handleError()</a></code> returns false.<p>
<code>DOM_SEVERITY_FATAL_ERROR</code> The severity of the error described by the <code><a class="el" href="classDOMError.html" title="DOMError is an interface that describes an error.">DOMError</a></code> is fatal error. A DOM_SEVERITY_FATAL_ERROR will cause the normal processing to stop. The return value of <code><a class="el" href="classDOMErrorHandler.html#156c98881fb79279c83f52f20ac8f5c4" title="This method is called on the error handler when an error occurs.">DOMErrorHandler::handleError()</a></code> is ignored unless the implementation chooses to continue, in which case the behavior becomes undefined.<p>
<code>DOM_SEVERITY_WARNING</code> The severity of the error described by the <code><a class="el" href="classDOMError.html" title="DOMError is an interface that describes an error.">DOMError</a></code> is warning. A DOM_SEVERITY_WARNING will not cause the processing to stop, unless <code><a class="el" href="classDOMErrorHandler.html#156c98881fb79279c83f52f20ac8f5c4" title="This method is called on the error handler when an error occurs.">DOMErrorHandler::handleError()</a></code> returns false.<p>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="e103dba9019c82cbd9ce0afbf30cdb1af1b200ca4a717aab6f87ea1ecdcbfe3d"></a><!-- doxytag: member="DOM_SEVERITY_WARNING" ref="e103dba9019c82cbd9ce0afbf30cdb1af1b200ca4a717aab6f87ea1ecdcbfe3d" args="" -->DOM_SEVERITY_WARNING</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="e103dba9019c82cbd9ce0afbf30cdb1ab9060c583802fbac601e0e7a64a5a73f"></a><!-- doxytag: member="DOM_SEVERITY_ERROR" ref="e103dba9019c82cbd9ce0afbf30cdb1ab9060c583802fbac601e0e7a64a5a73f" args="" -->DOM_SEVERITY_ERROR</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="e103dba9019c82cbd9ce0afbf30cdb1a7663a1c372a8333e39679d7b3dea5d97"></a><!-- doxytag: member="DOM_SEVERITY_FATAL_ERROR" ref="e103dba9019c82cbd9ce0afbf30cdb1a7663a1c372a8333e39679d7b3dea5d97" args="" -->DOM_SEVERITY_FATAL_ERROR</em> </td><td>
</td></tr>
</table>
</dl>
</div>
</div><p>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="e63e21de6b2b2b1f00d9c40a2b72fe15"></a><!-- doxytag: member="DOMError::DOMError" ref="e63e21de6b2b2b1f00d9c40a2b72fe15" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">DOMError::DOMError </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="90c94b6b5d613370bf6474c4ebf32c72"></a><!-- doxytag: member="DOMError::~DOMError" ref="90c94b6b5d613370bf6474c4ebf32c72" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual DOMError::~DOMError </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Destructor.
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="abe67793597741207ff873400d203a64"></a><!-- doxytag: member="DOMError::getSeverity" ref="abe67793597741207ff873400d203a64" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classDOMError.html#e103dba9019c82cbd9ce0afbf30cdb1a">ErrorSeverity</a> DOMError::getSeverity </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the severity of the error.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd>setSeverity </dd></dl>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div><p>
<a class="anchor" name="ab1dcd7a2d657d9aefcb27ddc14fbdcf"></a><!-- doxytag: member="DOMError::getMessage" ref="ab1dcd7a2d657d9aefcb27ddc14fbdcf" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a>* DOMError::getMessage </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the message describing the error that occured.
<p>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div><p>
<a class="anchor" name="33a72f6361c6eb8d4373786b5bee8c79"></a><!-- doxytag: member="DOMError::getLocation" ref="33a72f6361c6eb8d4373786b5bee8c79" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classDOMLocator.html">DOMLocator</a>* DOMError::getLocation </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the location of the error.
<p>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div><p>
<a class="anchor" name="35fbeab2be3fa0828045dae20cb9b14a"></a><!-- doxytag: member="DOMError::getRelatedException" ref="35fbeab2be3fa0828045dae20cb9b14a" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void* DOMError::getRelatedException </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The related platform dependent exception if any.
<p>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div><p>
<a class="anchor" name="556020b5f675145302a2236ab1554b95"></a><!-- doxytag: member="DOMError::getType" ref="556020b5f675145302a2236ab1554b95" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a>* DOMError::getType </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
A <code>XMLCh*</code> indicating which related data is expected in relatedData.
<p>
Users should refer to the specification of the error in order to find its <code>XMLCh*</code> type and relatedData definitions if any.<p>
Note: As an example, <code><a class="el" href="classDOMDocument.html#885bc5e1454842a82d22f75c35c25ff7" title="This method acts as if the document was going through a save and load cycle, putting...">DOMDocument::normalizeDocument()</a></code> does generate warnings when the "split-cdata-sections" parameter is in use. Therefore, the method generates a DOM_SEVERITY_WARNING with type "cdata-sections-splitted" and the first <code><a class="el" href="classDOMCDATASection.html" title="CDATA sections are used to escape blocks of text containing characters that would...">DOMCDATASection</a></code> node in document order resulting from the split is returned by the relatedData attribute.<p>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div><p>
<a class="anchor" name="60cf03cb9a6862ce07eec58efb873aa3"></a><!-- doxytag: member="DOMError::getRelatedData" ref="60cf03cb9a6862ce07eec58efb873aa3" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void* DOMError::getRelatedData </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The related <a class="el" href="classDOMError.html#556020b5f675145302a2236ab1554b95" title="A XMLCh* indicating which related data is expected in relatedData.">DOMError::getType</a> dependent data if any.
<p>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DOMError_8hpp-source.html">DOMError.hpp</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Apr 21 17:55:49 2010 for Xerces-C++ by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>
|