XQuilla/docs/dom3-api/classxercesc_1_1DOMError.html
2020-02-17 22:08:05 +01:00

608 lines
30 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>XQilla DOM Level 3 API: xercesc::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.4.6 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="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&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<div class="nav">
<a class="el" href="namespacexercesc.html">xercesc</a>::<a class="el" href="classxercesc_1_1DOMError.html">DOMError</a></div>
<h1>xercesc::DOMError Class Reference</h1><!-- doxytag: class="xercesc::DOMError" --><a class="el" href="classxercesc_1_1DOMError.html">DOMError</a> is an interface that describes an error.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="DOMError_8hpp-source.html">DOMError.hpp</a>&gt;</code>
<p>
<a href="classxercesc_1_1DOMError-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 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#2ee4056c45823760a3d9af523c263255">ErrorSeverity</a> { <a class="el" href="classxercesc_1_1DOMError.html#2ee4056c45823760a3d9af523c263255942d0ffe98b046da0a71b776dafab0b2">DOM_SEVERITY_WARNING</a> = 0,
<a class="el" href="classxercesc_1_1DOMError.html#2ee4056c45823760a3d9af523c2632551da26eaa4eaf7be383afc4279c6518b0">DOM_SEVERITY_ERROR</a> = 1,
<a class="el" href="classxercesc_1_1DOMError.html#2ee4056c45823760a3d9af523c263255a482572cbda6d79a807bf9ce4ff87874">DOM_SEVERITY_FATAL_ERROR</a> = 2
}</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The severity of the error described by the <code><a class="el" href="classxercesc_1_1DOMError.html">DOMError</a></code>. <a href="classxercesc_1_1DOMError.html#2ee4056c45823760a3d9af523c263255">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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#8887c14def49d790f176ca19dcac5a1d">~DOMError</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <a href="#8887c14def49d790f176ca19dcac5a1d"></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 short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#422ca5500ca4f602facba5932dfed0bb">getSeverity</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the severity of the error. <a href="#422ca5500ca4f602facba5932dfed0bb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#6cd1b6e5bd25f1ea4fc171e47e66b125">getMessage</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the message describing the error that occured. <a href="#6cd1b6e5bd25f1ea4fc171e47e66b125"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMLocator.html">DOMLocator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#c832f99aea641dfda756497b5be1f899">getLocation</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the location of the error. <a href="#c832f99aea641dfda756497b5be1f899"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#434ccbd1bdb9fe3f08c044104f3d156a">getRelatedException</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The related platform dependent exception if any. <a href="#434ccbd1bdb9fe3f08c044104f3d156a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#06f5236dfdc9368bc18bca5359747bdb">getType</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A <code>XMLCh*</code> indicating which related data is expected in relatedData. <a href="#06f5236dfdc9368bc18bca5359747bdb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#96b4685277c7068f246617a2ec516f64">getRelatedData</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The related DOMError.type dependent data if any. <a href="#96b4685277c7068f246617a2ec516f64"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#847ad3bb2769dec8cfad6555b9f774fa">setSeverity</a> (const short severity)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the severity of the error. <a href="#847ad3bb2769dec8cfad6555b9f774fa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#e5818cbc906526e411ce3b308360483e">setMessage</a> (const XMLCh *const message)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the error message. <a href="#e5818cbc906526e411ce3b308360483e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#5d0f10e535c5c624378c6c311a15cea3">setLocation</a> (<a class="el" href="classxercesc_1_1DOMLocator.html">DOMLocator</a> *const location)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the location of the error. <a href="#5d0f10e535c5c624378c6c311a15cea3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#66eb5e00982923bb0ae6859882796656">setRelatedException</a> (void *exc) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The related platform dependent exception if any. <a href="#66eb5e00982923bb0ae6859882796656"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#4af03bb2900037afd722612b1f60e769">setType</a> (const XMLCh *type)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A <code>XMLCh*</code> indicating which related data is expected in relatedData. <a href="#4af03bb2900037afd722612b1f60e769"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#c050664cbeb482f2dd5a9a7ea005c7da">setRelatedData</a> (void *relatedData)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The related DOMError.type dependent data if any. <a href="#c050664cbeb482f2dd5a9a7ea005c7da"></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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#80ab02454c9a7bb8e26e003b6956b367">DOMError</a> ()</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classxercesc_1_1DOMError.html">DOMError</a> is an interface that describes an error.
<p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMErrorHandler.html#67c9662c66074fa8c026cf08b6039ad3">DOMErrorHandler::handleError</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
<p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="2ee4056c45823760a3d9af523c263255"></a><!-- doxytag: member="xercesc::DOMError::ErrorSeverity" ref="2ee4056c45823760a3d9af523c263255" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">enum <a class="el" href="classxercesc_1_1DOMError.html#2ee4056c45823760a3d9af523c263255">xercesc::DOMError::ErrorSeverity</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
The severity of the error described by the <code><a class="el" href="classxercesc_1_1DOMError.html">DOMError</a></code>.
<p>
<dl 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="2ee4056c45823760a3d9af523c263255942d0ffe98b046da0a71b776dafab0b2"></a><!-- doxytag: member="DOM_SEVERITY_WARNING" ref="2ee4056c45823760a3d9af523c263255942d0ffe98b046da0a71b776dafab0b2" args="" -->DOM_SEVERITY_WARNING</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="2ee4056c45823760a3d9af523c2632551da26eaa4eaf7be383afc4279c6518b0"></a><!-- doxytag: member="DOM_SEVERITY_ERROR" ref="2ee4056c45823760a3d9af523c2632551da26eaa4eaf7be383afc4279c6518b0" args="" -->DOM_SEVERITY_ERROR</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="2ee4056c45823760a3d9af523c263255a482572cbda6d79a807bf9ce4ff87874"></a><!-- doxytag: member="DOM_SEVERITY_FATAL_ERROR" ref="2ee4056c45823760a3d9af523c263255a482572cbda6d79a807bf9ce4ff87874" args="" -->DOM_SEVERITY_FATAL_ERROR</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="80ab02454c9a7bb8e26e003b6956b367"></a><!-- doxytag: member="xercesc::DOMError::DOMError" ref="80ab02454c9a7bb8e26e003b6956b367" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">xercesc::DOMError::DOMError </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline, protected]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="8887c14def49d790f176ca19dcac5a1d"></a><!-- doxytag: member="xercesc::DOMError::~DOMError" ref="8887c14def49d790f176ca19dcac5a1d" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual xercesc::DOMError::~DOMError </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline, virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Destructor.
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="c832f99aea641dfda756497b5be1f899"></a><!-- doxytag: member="xercesc::DOMError::getLocation" ref="c832f99aea641dfda756497b5be1f899" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual <a class="el" href="classxercesc_1_1DOMLocator.html">DOMLocator</a>* xercesc::DOMError::getLocation </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get the location of the error.
<p>
<b>"Experimental - subject to change"</b><p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#5d0f10e535c5c624378c6c311a15cea3">setLocation</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="6cd1b6e5bd25f1ea4fc171e47e66b125"></a><!-- doxytag: member="xercesc::DOMError::getMessage" ref="6cd1b6e5bd25f1ea4fc171e47e66b125" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual const XMLCh* xercesc::DOMError::getMessage </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get the message describing the error that occured.
<p>
<b>"Experimental - subject to change"</b><p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#e5818cbc906526e411ce3b308360483e">setMessage</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="96b4685277c7068f246617a2ec516f64"></a><!-- doxytag: member="xercesc::DOMError::getRelatedData" ref="96b4685277c7068f246617a2ec516f64" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void* xercesc::DOMError::getRelatedData </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
The related DOMError.type dependent data if any.
<p>
<b>"Experimental - subject to change"</b><p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#c050664cbeb482f2dd5a9a7ea005c7da">setRelatedData</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="434ccbd1bdb9fe3f08c044104f3d156a"></a><!-- doxytag: member="xercesc::DOMError::getRelatedException" ref="434ccbd1bdb9fe3f08c044104f3d156a" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void* xercesc::DOMError::getRelatedException </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
The related platform dependent exception if any.
<p>
<b>"Experimental - subject to change"</b><p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#66eb5e00982923bb0ae6859882796656">setRelatedException</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="422ca5500ca4f602facba5932dfed0bb"></a><!-- doxytag: member="xercesc::DOMError::getSeverity" ref="422ca5500ca4f602facba5932dfed0bb" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual short xercesc::DOMError::getSeverity </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get the severity of the error.
<p>
<b>"Experimental - subject to change"</b><p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#847ad3bb2769dec8cfad6555b9f774fa">setSeverity</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="06f5236dfdc9368bc18bca5359747bdb"></a><!-- doxytag: member="xercesc::DOMError::getType" ref="06f5236dfdc9368bc18bca5359747bdb" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual const XMLCh* xercesc::DOMError::getType </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<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, [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="classxercesc_1_1DOMBuilder.html">DOMBuilder</a> generates a SEVERITY_WARNING with type "infoset-baseURI" and the lost [baseURI] property represented as a DOMString in the relatedData attribute.<p>
<b>"Experimental - subject to change"</b><p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#4af03bb2900037afd722612b1f60e769">setType</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="5d0f10e535c5c624378c6c311a15cea3"></a><!-- doxytag: member="xercesc::DOMError::setLocation" ref="5d0f10e535c5c624378c6c311a15cea3" args="(DOMLocator *const location)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMError::setLocation </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classxercesc_1_1DOMLocator.html">DOMLocator</a> *const &nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>location</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set the location of the error.
<p>
<b>"Experimental - subject to change"</b><p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>location</em>&nbsp;</td><td>the location of the error to set. </td></tr>
</table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#c832f99aea641dfda756497b5be1f899">getLocation</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="e5818cbc906526e411ce3b308360483e"></a><!-- doxytag: member="xercesc::DOMError::setMessage" ref="e5818cbc906526e411ce3b308360483e" args="(const XMLCh *const message)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMError::setMessage </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const XMLCh *const &nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>message</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set the error message.
<p>
<b>"Experimental - subject to change"</b><p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>message</em>&nbsp;</td><td>the error message to set. </td></tr>
</table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#6cd1b6e5bd25f1ea4fc171e47e66b125">getMessage</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="c050664cbeb482f2dd5a9a7ea005c7da"></a><!-- doxytag: member="xercesc::DOMError::setRelatedData" ref="c050664cbeb482f2dd5a9a7ea005c7da" args="(void *relatedData)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMError::setRelatedData </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">void *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>relatedData</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
The related DOMError.type dependent data if any.
<p>
<b>"Experimental - subject to change"</b><p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#96b4685277c7068f246617a2ec516f64">getRelatedData</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="66eb5e00982923bb0ae6859882796656"></a><!-- doxytag: member="xercesc::DOMError::setRelatedException" ref="66eb5e00982923bb0ae6859882796656" args="(void *exc) const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMError::setRelatedException </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">void *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>exc</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
The related platform dependent exception if any.
<p>
<b>"Experimental - subject to change"</b><p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>exc</em>&nbsp;</td><td>the related exception to set. </td></tr>
</table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#434ccbd1bdb9fe3f08c044104f3d156a">getRelatedException</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="847ad3bb2769dec8cfad6555b9f774fa"></a><!-- doxytag: member="xercesc::DOMError::setSeverity" ref="847ad3bb2769dec8cfad6555b9f774fa" args="(const short severity)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMError::setSeverity </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const short&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>severity</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set the severity of the error.
<p>
<b>"Experimental - subject to change"</b><p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>severity</em>&nbsp;</td><td>the type of the error to set </td></tr>
</table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#c832f99aea641dfda756497b5be1f899">getLocation</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="4af03bb2900037afd722612b1f60e769"></a><!-- doxytag: member="xercesc::DOMError::setType" ref="4af03bb2900037afd722612b1f60e769" args="(const XMLCh *type)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMError::setType </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const XMLCh *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>type</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<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, [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="classxercesc_1_1DOMBuilder.html">DOMBuilder</a> generates a SEVERITY_WARNING with type "infoset-baseURI" and the lost [baseURI] property represented as a DOMString in the relatedData attribute.<p>
<b>"Experimental - subject to change"</b><p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#06f5236dfdc9368bc18bca5359747bdb">getType</a> </dd></dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</td>
</tr>
</table>
<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>
<hr size="1"><address style="align: right;"><small>Generated on Mon Feb 12 16:52:12 2007 for XQilla DOM Level 3 API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>