You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

393 lines
24 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.9.1"/>
  7. <title>Xerces-C++: DOMException Class Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <div id="titlearea">
  16. <table cellspacing="0" cellpadding="0">
  17. <tbody>
  18. <tr style="height: 56px;">
  19. <td style="padding-left: 0.5em;">
  20. <div id="projectname">Xerces-C++
  21. &#160;<span id="projectnumber">3.1.2</span>
  22. </div>
  23. </td>
  24. </tr>
  25. </tbody>
  26. </table>
  27. </div>
  28. <!-- end header part -->
  29. <!-- Generated by Doxygen 1.8.9.1 -->
  30. <div id="navrow1" class="tabs">
  31. <ul class="tablist">
  32. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  33. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  34. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  35. <li><a href="files.html"><span>Files</span></a></li>
  36. </ul>
  37. </div>
  38. <div id="navrow2" class="tabs2">
  39. <ul class="tablist">
  40. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  41. <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
  42. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  43. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  44. </ul>
  45. </div>
  46. </div><!-- top -->
  47. <div class="header">
  48. <div class="summary">
  49. <a href="#pub-methods">Public Member Functions</a> &#124;
  50. <a href="#pro-attribs">Protected Attributes</a> &#124;
  51. <a href="classDOMException-members.html">List of all members</a> </div>
  52. <div class="headertitle">
  53. <div class="title">DOMException Class Reference</div> </div>
  54. </div><!--header-->
  55. <div class="contents">
  56. <div class="dynheader">
  57. Inheritance diagram for DOMException:</div>
  58. <div class="dyncontent">
  59. <div class="center">
  60. <img src="classDOMException.png" usemap="#DOMException_map" alt=""/>
  61. <map id="DOMException_map" name="DOMException_map">
  62. <area href="classDOMLSException.html" alt="DOMLSException" shape="rect" coords="0,56,133,80"/>
  63. <area href="classDOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. " alt="DOMRangeException" shape="rect" coords="143,56,276,80"/>
  64. <area href="classDOMXPathException.html" alt="DOMXPathException" shape="rect" coords="286,56,419,80"/>
  65. </map>
  66. </div></div>
  67. <table class="memberdecls">
  68. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  69. Public Types</h2></td></tr>
  70. <tr><td colspan="2"><div class="groupHeader">Public Constants</div></td></tr>
  71. <tr class="memitem:af80f80a377221615d84e59dd2cf71af5"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5">ExceptionCode</a> { <br />
  72. &#160;&#160;<a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5a0d9eec111a459f220bcb2f6089affd36">INDEX_SIZE_ERR</a> = 1,
  73. <a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5a7848bea27629696b995c49d03647bf44">DOMSTRING_SIZE_ERR</a> = 2,
  74. <a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5abe5df9481fbad98378567999adfd2c70">HIERARCHY_REQUEST_ERR</a> = 3,
  75. <a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5aada71ea07a0f81ee5d777d3eefe23589">WRONG_DOCUMENT_ERR</a> = 4,
  76. <br />
  77. &#160;&#160;<a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5ad4e2a67501d747d9a54d34f03ec92d4f">INVALID_CHARACTER_ERR</a> = 5,
  78. <a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5afd6d2bee336d0c97803ed97bb8092690">NO_DATA_ALLOWED_ERR</a> = 6,
  79. <a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5ac685ca9c8d81f88fbd674a2a29ac0585">NO_MODIFICATION_ALLOWED_ERR</a> = 7,
  80. <a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5a97f83c5dba130f790718cb6a6f77199c">NOT_FOUND_ERR</a> = 8,
  81. <br />
  82. &#160;&#160;<a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5a4b36c275ad7abb8a3bfe3b1d56727145">NOT_SUPPORTED_ERR</a> = 9,
  83. <a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5a502d34a3422533e2c593b51da4286314">INUSE_ATTRIBUTE_ERR</a> = 10,
  84. <a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5aeb459204931eb814f958d31620760c94">INVALID_STATE_ERR</a> = 11,
  85. <a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5aafca1d00c0334aafb6299fbddc06ed5c">SYNTAX_ERR</a> = 12,
  86. <br />
  87. &#160;&#160;<a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5a2140035734a10c7b4d50de86cb49d6d9">INVALID_MODIFICATION_ERR</a> = 13,
  88. <a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5aabb983e7d4f0913b1be4d78a09ee4ac1">NAMESPACE_ERR</a> = 14,
  89. <a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5a4e84eacc79c98824d020a8ea9f453565">INVALID_ACCESS_ERR</a> = 15,
  90. <a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5af6b8c16116028310efacaecf36a631d4">VALIDATION_ERR</a> = 16,
  91. <br />
  92. &#160;&#160;<a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5ad11b5337003ff6a769b5ed34cdad51d2">TYPE_MISMATCH_ERR</a> = 17
  93. <br />
  94. }</td></tr>
  95. <tr class="memdesc:af80f80a377221615d84e59dd2cf71af5"><td class="mdescLeft">&#160;</td><td class="mdescRight">ExceptionCode. <a href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5">More...</a><br /></td></tr>
  96. <tr class="separator:af80f80a377221615d84e59dd2cf71af5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  97. </table><table class="memberdecls">
  98. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  99. Public Member Functions</h2></td></tr>
  100. <tr class="memitem:a60efacd2438bd49be92305b236aa954a"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMException.html#a60efacd2438bd49be92305b236aa954a">getMessage</a> () const </td></tr>
  101. <tr class="separator:a60efacd2438bd49be92305b236aa954a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
  103. <tr class="memitem:a09dde1b16c7edcec913a4db2b3277f8e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMException.html#a09dde1b16c7edcec913a4db2b3277f8e">DOMException</a> ()</td></tr>
  104. <tr class="memdesc:a09dde1b16c7edcec913a4db2b3277f8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor for <a class="el" href="classDOMException.html">DOMException</a>. <a href="#a09dde1b16c7edcec913a4db2b3277f8e">More...</a><br /></td></tr>
  105. <tr class="separator:a09dde1b16c7edcec913a4db2b3277f8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:a2fa601f92c52fe1603775717ef33d738"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMException.html#a2fa601f92c52fe1603775717ef33d738">DOMException</a> (short <a class="el" href="classDOMException.html#ab23877af4faedb46e90710e150c664dc">code</a>, short messageCode=0, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const memoryManager=<a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
  107. <tr class="memdesc:a2fa601f92c52fe1603775717ef33d738"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor which takes an error code and an optional message code. <a href="#a2fa601f92c52fe1603775717ef33d738">More...</a><br /></td></tr>
  108. <tr class="separator:a2fa601f92c52fe1603775717ef33d738"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:a43830d350613c5faa847745b4222f63a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMException.html#a43830d350613c5faa847745b4222f63a">DOMException</a> (const <a class="el" href="classDOMException.html">DOMException</a> &amp;other)</td></tr>
  110. <tr class="memdesc:a43830d350613c5faa847745b4222f63a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <a href="#a43830d350613c5faa847745b4222f63a">More...</a><br /></td></tr>
  111. <tr class="separator:a43830d350613c5faa847745b4222f63a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr><td colspan="2"><div class="groupHeader">Destructor.</div></td></tr>
  113. <tr class="memitem:a9072bff80ac69c2d25631c4ab81c2246"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMException.html#a9072bff80ac69c2d25631c4ab81c2246">~DOMException</a> ()</td></tr>
  114. <tr class="memdesc:a9072bff80ac69c2d25631c4ab81c2246"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor for <a class="el" href="classDOMException.html">DOMException</a>. <a href="#a9072bff80ac69c2d25631c4ab81c2246">More...</a><br /></td></tr>
  115. <tr class="separator:a9072bff80ac69c2d25631c4ab81c2246"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. </table><table class="memberdecls">
  117. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  118. Public Attributes</h2></td></tr>
  119. <tr><td colspan="2"><div class="groupHeader">Public variables</div></td></tr>
  120. <tr class="memitem:ab23877af4faedb46e90710e150c664dc"><td class="memItemLeft" align="right" valign="top">short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMException.html#ab23877af4faedb46e90710e150c664dc">code</a></td></tr>
  121. <tr class="memdesc:ab23877af4faedb46e90710e150c664dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">A code value, from the set defined by the ExceptionCode enum, indicating the type of error that occured. <a href="#ab23877af4faedb46e90710e150c664dc">More...</a><br /></td></tr>
  122. <tr class="separator:ab23877af4faedb46e90710e150c664dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:a121d7352cb46de347f3cf27ba7b17727"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMException.html#a121d7352cb46de347f3cf27ba7b17727">msg</a></td></tr>
  124. <tr class="memdesc:a121d7352cb46de347f3cf27ba7b17727"><td class="mdescLeft">&#160;</td><td class="mdescRight">A string value. <a href="#a121d7352cb46de347f3cf27ba7b17727">More...</a><br /></td></tr>
  125. <tr class="separator:a121d7352cb46de347f3cf27ba7b17727"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. </table><table class="memberdecls">
  127. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
  128. Protected Attributes</h2></td></tr>
  129. <tr class="memitem:a41a7e3e84ec87ae459f7ed0b5d9a8c38"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classMemoryManager.html">MemoryManager</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMException.html#a41a7e3e84ec87ae459f7ed0b5d9a8c38">fMemoryManager</a></td></tr>
  130. <tr class="separator:a41a7e3e84ec87ae459f7ed0b5d9a8c38"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. </table>
  132. <h2 class="groupheader">Member Enumeration Documentation</h2>
  133. <a class="anchor" id="af80f80a377221615d84e59dd2cf71af5"></a>
  134. <div class="memitem">
  135. <div class="memproto">
  136. <table class="memname">
  137. <tr>
  138. <td class="memname">enum <a class="el" href="classDOMException.html#af80f80a377221615d84e59dd2cf71af5">DOMException::ExceptionCode</a></td>
  139. </tr>
  140. </table>
  141. </div><div class="memdoc">
  142. <p>ExceptionCode. </p>
  143. <p><code>INDEX_SIZE_ERR:</code> If index or size is negative, or greater than the allowed value.</p>
  144. <p><code>DOMSTRING_SIZE_ERR:</code> If the specified range of text does not fit into a DOMString.</p>
  145. <p><code>HIERARCHY_REQUEST_ERR:</code> If any node is inserted somewhere it doesn't belong.</p>
  146. <p><code>WRONG_DOCUMENT_ERR:</code> If a node is used in a different document than the one that created it (that doesn't support it).</p>
  147. <p><code>INVALID_CHARACTER_ERR:</code> If an invalid or illegal character is specified, such as in a name. See production 2 in the XML specification for the definition of a legal character, and production 5 for the definition of a legal name character.</p>
  148. <p><code>NO_DATA_ALLOWED_ERR:</code> If data is specified for a node which does not support data.</p>
  149. <p><code>NO_MODIFICATION_ALLOWED_ERR:</code> If an attempt is made to modify an object where modifications are not allowed.</p>
  150. <p><code>NOT_FOUND_ERR:</code> If an attempt is made to reference a node in a context where it does not exist.</p>
  151. <p><code>NOT_SUPPORTED_ERR:</code> If the implementation does not support the requested type of object or operation.</p>
  152. <p><code>INUSE_ATTRIBUTE_ERR:</code> If an attempt is made to add an attribute that is already in use elsewhere.</p>
  153. <p>The above are since DOM Level 1 </p><dl class="section since"><dt>Since</dt><dd>DOM Level 1</dd></dl>
  154. <p><code>INVALID_STATE_ERR:</code> If an attempt is made to use an object that is not, or is no longer, usable.</p>
  155. <p><code>SYNTAX_ERR:</code> If an invalid or illegal string is specified.</p>
  156. <p><code>INVALID_MODIFICATION_ERR:</code> If an attempt is made to modify the type of the underlying object.</p>
  157. <p><code>NAMESPACE_ERR:</code> If an attempt is made to create or change an object in a way which is incorrect with regard to namespaces.</p>
  158. <p><code>INVALID_ACCESS_ERR:</code> If a parameter or an operation is not supported by the underlying object.</p>
  159. <p>The above are since DOM Level 2 </p><dl class="section since"><dt>Since</dt><dd>DOM Level 2</dd></dl>
  160. <p><code>VALIDATION_ERR:</code> If a call to a method such as <code>insertBefore</code> or <code>removeChild</code> would make the <code>Node</code> invalid with respect to "partial validity", this exception would be raised and the operation would not be done.</p>
  161. <p><code>TYPE_MISMATCH_ERR:</code> If the type of an object is incompatible with the expected type of the parameter associated to the object, this exception would be raised.</p>
  162. <p>The above is since DOM Level 3 </p><dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  163. <table class="fieldtable">
  164. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="af80f80a377221615d84e59dd2cf71af5a0d9eec111a459f220bcb2f6089affd36"></a>INDEX_SIZE_ERR&#160;</td><td class="fielddoc">
  165. </td></tr>
  166. <tr><td class="fieldname"><a class="anchor" id="af80f80a377221615d84e59dd2cf71af5a7848bea27629696b995c49d03647bf44"></a>DOMSTRING_SIZE_ERR&#160;</td><td class="fielddoc">
  167. </td></tr>
  168. <tr><td class="fieldname"><a class="anchor" id="af80f80a377221615d84e59dd2cf71af5abe5df9481fbad98378567999adfd2c70"></a>HIERARCHY_REQUEST_ERR&#160;</td><td class="fielddoc">
  169. </td></tr>
  170. <tr><td class="fieldname"><a class="anchor" id="af80f80a377221615d84e59dd2cf71af5aada71ea07a0f81ee5d777d3eefe23589"></a>WRONG_DOCUMENT_ERR&#160;</td><td class="fielddoc">
  171. </td></tr>
  172. <tr><td class="fieldname"><a class="anchor" id="af80f80a377221615d84e59dd2cf71af5ad4e2a67501d747d9a54d34f03ec92d4f"></a>INVALID_CHARACTER_ERR&#160;</td><td class="fielddoc">
  173. </td></tr>
  174. <tr><td class="fieldname"><a class="anchor" id="af80f80a377221615d84e59dd2cf71af5afd6d2bee336d0c97803ed97bb8092690"></a>NO_DATA_ALLOWED_ERR&#160;</td><td class="fielddoc">
  175. </td></tr>
  176. <tr><td class="fieldname"><a class="anchor" id="af80f80a377221615d84e59dd2cf71af5ac685ca9c8d81f88fbd674a2a29ac0585"></a>NO_MODIFICATION_ALLOWED_ERR&#160;</td><td class="fielddoc">
  177. </td></tr>
  178. <tr><td class="fieldname"><a class="anchor" id="af80f80a377221615d84e59dd2cf71af5a97f83c5dba130f790718cb6a6f77199c"></a>NOT_FOUND_ERR&#160;</td><td class="fielddoc">
  179. </td></tr>
  180. <tr><td class="fieldname"><a class="anchor" id="af80f80a377221615d84e59dd2cf71af5a4b36c275ad7abb8a3bfe3b1d56727145"></a>NOT_SUPPORTED_ERR&#160;</td><td class="fielddoc">
  181. </td></tr>
  182. <tr><td class="fieldname"><a class="anchor" id="af80f80a377221615d84e59dd2cf71af5a502d34a3422533e2c593b51da4286314"></a>INUSE_ATTRIBUTE_ERR&#160;</td><td class="fielddoc">
  183. </td></tr>
  184. <tr><td class="fieldname"><a class="anchor" id="af80f80a377221615d84e59dd2cf71af5aeb459204931eb814f958d31620760c94"></a>INVALID_STATE_ERR&#160;</td><td class="fielddoc">
  185. </td></tr>
  186. <tr><td class="fieldname"><a class="anchor" id="af80f80a377221615d84e59dd2cf71af5aafca1d00c0334aafb6299fbddc06ed5c"></a>SYNTAX_ERR&#160;</td><td class="fielddoc">
  187. </td></tr>
  188. <tr><td class="fieldname"><a class="anchor" id="af80f80a377221615d84e59dd2cf71af5a2140035734a10c7b4d50de86cb49d6d9"></a>INVALID_MODIFICATION_ERR&#160;</td><td class="fielddoc">
  189. </td></tr>
  190. <tr><td class="fieldname"><a class="anchor" id="af80f80a377221615d84e59dd2cf71af5aabb983e7d4f0913b1be4d78a09ee4ac1"></a>NAMESPACE_ERR&#160;</td><td class="fielddoc">
  191. </td></tr>
  192. <tr><td class="fieldname"><a class="anchor" id="af80f80a377221615d84e59dd2cf71af5a4e84eacc79c98824d020a8ea9f453565"></a>INVALID_ACCESS_ERR&#160;</td><td class="fielddoc">
  193. </td></tr>
  194. <tr><td class="fieldname"><a class="anchor" id="af80f80a377221615d84e59dd2cf71af5af6b8c16116028310efacaecf36a631d4"></a>VALIDATION_ERR&#160;</td><td class="fielddoc">
  195. </td></tr>
  196. <tr><td class="fieldname"><a class="anchor" id="af80f80a377221615d84e59dd2cf71af5ad11b5337003ff6a769b5ed34cdad51d2"></a>TYPE_MISMATCH_ERR&#160;</td><td class="fielddoc">
  197. </td></tr>
  198. </table>
  199. </div>
  200. </div>
  201. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  202. <a class="anchor" id="a09dde1b16c7edcec913a4db2b3277f8e"></a>
  203. <div class="memitem">
  204. <div class="memproto">
  205. <table class="memname">
  206. <tr>
  207. <td class="memname">DOMException::DOMException </td>
  208. <td>(</td>
  209. <td class="paramname"></td><td>)</td>
  210. <td></td>
  211. </tr>
  212. </table>
  213. </div><div class="memdoc">
  214. <p>Default constructor for <a class="el" href="classDOMException.html">DOMException</a>. </p>
  215. </div>
  216. </div>
  217. <a class="anchor" id="a2fa601f92c52fe1603775717ef33d738"></a>
  218. <div class="memitem">
  219. <div class="memproto">
  220. <table class="memname">
  221. <tr>
  222. <td class="memname">DOMException::DOMException </td>
  223. <td>(</td>
  224. <td class="paramtype">short&#160;</td>
  225. <td class="paramname"><em>code</em>, </td>
  226. </tr>
  227. <tr>
  228. <td class="paramkey"></td>
  229. <td></td>
  230. <td class="paramtype">short&#160;</td>
  231. <td class="paramname"><em>messageCode</em> = <code>0</code>, </td>
  232. </tr>
  233. <tr>
  234. <td class="paramkey"></td>
  235. <td></td>
  236. <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&#160;</td>
  237. <td class="paramname"><em>memoryManager</em> = <code><a class="el" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>&#160;</td>
  238. </tr>
  239. <tr>
  240. <td></td>
  241. <td>)</td>
  242. <td></td><td></td>
  243. </tr>
  244. </table>
  245. </div><div class="memdoc">
  246. <p>Constructor which takes an error code and an optional message code. </p>
  247. <dl class="params"><dt>Parameters</dt><dd>
  248. <table class="params">
  249. <tr><td class="paramname">code</td><td>The error code which indicates the exception </td></tr>
  250. <tr><td class="paramname">messageCode</td><td>The string containing the error message </td></tr>
  251. <tr><td class="paramname">memoryManager</td><td>The memory manager used to (de)allocate memory </td></tr>
  252. </table>
  253. </dd>
  254. </dl>
  255. </div>
  256. </div>
  257. <a class="anchor" id="a43830d350613c5faa847745b4222f63a"></a>
  258. <div class="memitem">
  259. <div class="memproto">
  260. <table class="memname">
  261. <tr>
  262. <td class="memname">DOMException::DOMException </td>
  263. <td>(</td>
  264. <td class="paramtype">const <a class="el" href="classDOMException.html">DOMException</a> &amp;&#160;</td>
  265. <td class="paramname"><em>other</em></td><td>)</td>
  266. <td></td>
  267. </tr>
  268. </table>
  269. </div><div class="memdoc">
  270. <p>Copy constructor. </p>
  271. <dl class="params"><dt>Parameters</dt><dd>
  272. <table class="params">
  273. <tr><td class="paramname">other</td><td>The object to be copied. </td></tr>
  274. </table>
  275. </dd>
  276. </dl>
  277. </div>
  278. </div>
  279. <a class="anchor" id="a9072bff80ac69c2d25631c4ab81c2246"></a>
  280. <div class="memitem">
  281. <div class="memproto">
  282. <table class="mlabels">
  283. <tr>
  284. <td class="mlabels-left">
  285. <table class="memname">
  286. <tr>
  287. <td class="memname">virtual DOMException::~DOMException </td>
  288. <td>(</td>
  289. <td class="paramname"></td><td>)</td>
  290. <td></td>
  291. </tr>
  292. </table>
  293. </td>
  294. <td class="mlabels-right">
  295. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  296. </tr>
  297. </table>
  298. </div><div class="memdoc">
  299. <p>Destructor for <a class="el" href="classDOMException.html">DOMException</a>. </p>
  300. </div>
  301. </div>
  302. <h2 class="groupheader">Member Function Documentation</h2>
  303. <a class="anchor" id="a60efacd2438bd49be92305b236aa954a"></a>
  304. <div class="memitem">
  305. <div class="memproto">
  306. <table class="memname">
  307. <tr>
  308. <td class="memname">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> * DOMException::getMessage </td>
  309. <td>(</td>
  310. <td class="paramname"></td><td>)</td>
  311. <td> const</td>
  312. </tr>
  313. </table>
  314. </div><div class="memdoc">
  315. <p>References <a class="el" href="classDOMException.html#a121d7352cb46de347f3cf27ba7b17727">msg</a>.</p>
  316. </div>
  317. </div>
  318. <h2 class="groupheader">Member Data Documentation</h2>
  319. <a class="anchor" id="ab23877af4faedb46e90710e150c664dc"></a>
  320. <div class="memitem">
  321. <div class="memproto">
  322. <table class="memname">
  323. <tr>
  324. <td class="memname">short DOMException::code</td>
  325. </tr>
  326. </table>
  327. </div><div class="memdoc">
  328. <p>A code value, from the set defined by the ExceptionCode enum, indicating the type of error that occured. </p>
  329. </div>
  330. </div>
  331. <a class="anchor" id="a41a7e3e84ec87ae459f7ed0b5d9a8c38"></a>
  332. <div class="memitem">
  333. <div class="memproto">
  334. <table class="mlabels">
  335. <tr>
  336. <td class="mlabels-left">
  337. <table class="memname">
  338. <tr>
  339. <td class="memname"><a class="el" href="classMemoryManager.html">MemoryManager</a>* DOMException::fMemoryManager</td>
  340. </tr>
  341. </table>
  342. </td>
  343. <td class="mlabels-right">
  344. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  345. </tr>
  346. </table>
  347. </div><div class="memdoc">
  348. </div>
  349. </div>
  350. <a class="anchor" id="a121d7352cb46de347f3cf27ba7b17727"></a>
  351. <div class="memitem">
  352. <div class="memproto">
  353. <table class="memname">
  354. <tr>
  355. <td class="memname">const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* DOMException::msg</td>
  356. </tr>
  357. </table>
  358. </div><div class="memdoc">
  359. <p>A string value. </p>
  360. <p>Applications may use this field to hold an error message. The field value is not set by the DOM implementation, meaning that the string will be empty when an exception is first thrown. </p>
  361. <p>Referenced by <a class="el" href="classDOMException.html#a60efacd2438bd49be92305b236aa954a">getMessage()</a>.</p>
  362. </div>
  363. </div>
  364. <hr/>The documentation for this class was generated from the following file:<ul>
  365. <li><a class="el" href="DOMException_8hpp_source.html">DOMException.hpp</a></li>
  366. </ul>
  367. </div><!-- contents -->
  368. <!-- start footer part -->
  369. <hr class="footer"/><address class="footer"><small>
  370. Generated on Wed Mar 18 2015 10:43:38 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  371. <img class="footer" src="doxygen.png" alt="doxygen"/>
  372. </a> 1.8.9.1
  373. </small></address>
  374. </body>
  375. </html>