141 lines
14 KiB
HTML
141 lines
14 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 DOM3 API Documentation</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&type=2" border="0" alt="SourceForge.net Logo" /></a>
|
|
<!-- Generated by Doxygen 1.6.1 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
|
<li><a href="examples.html"><span>Examples</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
<li><a href="globals.html"><span>File Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<h1>DOMException.hpp</h1><a href="DOMException_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
|
|
<a name="l00002"></a>00002 <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span>
|
|
<a name="l00003"></a>00003 <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span>
|
|
<a name="l00004"></a>00004 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
|
|
<a name="l00005"></a>00005 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
|
|
<a name="l00006"></a>00006 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
|
|
<a name="l00007"></a>00007 <span class="comment"> * the License. You may obtain a copy of the License at</span>
|
|
<a name="l00008"></a>00008 <span class="comment"> *</span>
|
|
<a name="l00009"></a>00009 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
|
|
<a name="l00010"></a>00010 <span class="comment"> *</span>
|
|
<a name="l00011"></a>00011 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
|
|
<a name="l00012"></a>00012 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
|
|
<a name="l00013"></a>00013 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
|
|
<a name="l00014"></a>00014 <span class="comment"> * See the License for the specific language governing permissions and</span>
|
|
<a name="l00015"></a>00015 <span class="comment"> * limitations under the License.</span>
|
|
<a name="l00016"></a>00016 <span class="comment"> */</span>
|
|
<a name="l00017"></a>00017
|
|
<a name="l00018"></a>00018 <span class="comment">/*</span>
|
|
<a name="l00019"></a>00019 <span class="comment"> * $Id: DOMException.hpp 671894 2008-06-26 13:29:21Z borisk $</span>
|
|
<a name="l00020"></a>00020 <span class="comment"> */</span>
|
|
<a name="l00021"></a>00021
|
|
<a name="l00022"></a>00022 <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_DOMEXCEPTION_HPP)</span>
|
|
<a name="l00023"></a><a class="code" href="DOMException_8hpp.html#a08c52a29511b6937b2e3a1ae3bec09d3">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESC_INCLUDE_GUARD_DOMEXCEPTION_HPP</span>
|
|
<a name="l00024"></a>00024 <span class="preprocessor"></span>
|
|
<a name="l00025"></a>00025 <span class="preprocessor">#include <xercesc/util/XercesDefs.hpp></span>
|
|
<a name="l00026"></a>00026 <span class="preprocessor">#include <<a class="code" href="PlatformUtils_8hpp.html">xercesc/util/PlatformUtils.hpp</a>></span>
|
|
<a name="l00027"></a>00027
|
|
<a name="l00028"></a>00028 XERCES_CPP_NAMESPACE_BEGIN
|
|
<a name="l00029"></a>00029
|
|
<a name="l00030"></a>00030
|
|
<a name="l00050"></a>00050 <span class="keyword">class </span>MemoryManager;
|
|
<a name="l00051"></a>00051
|
|
<a name="l00052"></a><a class="code" href="classxercesc_1_1DOMException.html">00052</a> <span class="keyword">class </span>CDOM_EXPORT <a class="code" href="classxercesc_1_1DOMException.html">DOMException</a> {
|
|
<a name="l00053"></a>00053 <span class="keyword">public</span>:
|
|
<a name="l00054"></a>00054 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00055"></a>00055 <span class="comment">// Class Types</span>
|
|
<a name="l00056"></a>00056 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00137"></a><a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56">00137</a> <span class="comment"></span> <span class="keyword">enum</span> <a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56" title="ExceptionCode.">ExceptionCode</a> {
|
|
<a name="l00138"></a><a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56a36d5bab39d4924930885960fea01cce3">00138</a> INDEX_SIZE_ERR = 1,
|
|
<a name="l00139"></a><a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56a08423287f1d885cf2833e9230a082a34">00139</a> DOMSTRING_SIZE_ERR = 2,
|
|
<a name="l00140"></a><a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56abb1d7bb0a281505ee6e93cb16ade007e">00140</a> HIERARCHY_REQUEST_ERR = 3,
|
|
<a name="l00141"></a><a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56a99ba26671de61bb926598bc2f4fdeee1">00141</a> WRONG_DOCUMENT_ERR = 4,
|
|
<a name="l00142"></a><a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56a147875f773995a594e4359bcf5381ae3">00142</a> INVALID_CHARACTER_ERR = 5,
|
|
<a name="l00143"></a><a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56a68f87bbb0f5605ee6c3243c7b4cdd8c0">00143</a> NO_DATA_ALLOWED_ERR = 6,
|
|
<a name="l00144"></a><a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56add45f85c8af1c41705e705f68d47efa3">00144</a> NO_MODIFICATION_ALLOWED_ERR = 7,
|
|
<a name="l00145"></a><a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56a56ae3ec0304267cb1231a71729fcfa50">00145</a> NOT_FOUND_ERR = 8,
|
|
<a name="l00146"></a><a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56a0711a81d68bf3cc61a0b36580cd696cd">00146</a> NOT_SUPPORTED_ERR = 9,
|
|
<a name="l00147"></a><a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56ac7486decc5ddacafdfc0243f3f9698f4">00147</a> INUSE_ATTRIBUTE_ERR = 10,
|
|
<a name="l00148"></a><a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56a3e88938b0426c429005cb49f76e38663">00148</a> INVALID_STATE_ERR = 11,
|
|
<a name="l00149"></a><a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56a672ff6e8c9538b2041025ba93686a81a">00149</a> SYNTAX_ERR = 12,
|
|
<a name="l00150"></a><a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56ad99b4101dca4f22f08cdcb7245f3d26b">00150</a> INVALID_MODIFICATION_ERR = 13,
|
|
<a name="l00151"></a><a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56aee63e59a8a480701cb0aaae5739478a5">00151</a> NAMESPACE_ERR = 14,
|
|
<a name="l00152"></a><a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56acdda4e3a95469249f118989c7a098dbb">00152</a> INVALID_ACCESS_ERR = 15,
|
|
<a name="l00153"></a><a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56aed47da4f607db187a06b8b0d70f4ebcb">00153</a> VALIDATION_ERR = 16,
|
|
<a name="l00154"></a><a class="code" href="classxercesc_1_1DOMException.html#ae5ad88bd9f571a66a8029941ae213d56a6d23cc6fabe2a74053fe8eaf992a1ce6">00154</a> TYPE_MISMATCH_ERR = 17
|
|
<a name="l00155"></a>00155 };
|
|
<a name="l00157"></a>00157
|
|
<a name="l00158"></a>00158 <span class="keyword">public</span>:
|
|
<a name="l00159"></a>00159 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00160"></a>00160 <span class="comment">// Constructors</span>
|
|
<a name="l00161"></a>00161 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00168"></a>00168 <span class="comment"></span> <a class="code" href="classxercesc_1_1DOMException.html">DOMException</a>();
|
|
<a name="l00169"></a>00169
|
|
<a name="l00177"></a>00177 <a class="code" href="classxercesc_1_1DOMException.html">DOMException</a>(<span class="keywordtype">short</span> code,
|
|
<a name="l00178"></a>00178 <span class="keywordtype">short</span> messageCode = 0,
|
|
<a name="l00179"></a>00179 <a class="code" href="classxercesc_1_1MemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* <span class="keyword">const</span> memoryManager = XMLPlatformUtils::fgMemoryManager);
|
|
<a name="l00180"></a>00180
|
|
<a name="l00186"></a>00186 <a class="code" href="classxercesc_1_1DOMException.html">DOMException</a>(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMException.html">DOMException</a> &other);
|
|
<a name="l00187"></a>00187
|
|
<a name="l00189"></a>00189
|
|
<a name="l00190"></a>00190 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00191"></a>00191 <span class="comment">// Destructors</span>
|
|
<a name="l00192"></a>00192 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00199"></a>00199 <span class="comment"></span> <span class="keyword">virtual</span> ~<a class="code" href="classxercesc_1_1DOMException.html">DOMException</a>();
|
|
<a name="l00201"></a>00201
|
|
<a name="l00202"></a>00202
|
|
<a name="l00203"></a>00203 <span class="keyword">public</span>:
|
|
<a name="l00204"></a>00204 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00205"></a>00205 <span class="comment">// Getter</span>
|
|
<a name="l00206"></a>00206 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00207"></a>00207 <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* getMessage() <span class="keyword">const</span>;
|
|
<a name="l00208"></a>00208
|
|
<a name="l00209"></a>00209 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00210"></a>00210 <span class="comment">// Class Types</span>
|
|
<a name="l00211"></a>00211 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00218"></a><a class="code" href="classxercesc_1_1DOMException.html#a4cf64288cf440c80048661cf6a6ab96e">00218</a> <span class="comment"></span> <span class="keywordtype">short</span> code;
|
|
<a name="l00219"></a>00219
|
|
<a name="l00226"></a><a class="code" href="classxercesc_1_1DOMException.html#a51f4ddc8f8ac7177c9d3fc75ff276f12">00226</a> <span class="keyword">const</span> XMLCh *msg;
|
|
<a name="l00228"></a>00228
|
|
<a name="l00229"></a>00229 <span class="keyword">protected</span>:
|
|
<a name="l00230"></a><a class="code" href="classxercesc_1_1DOMException.html#a4ca961d9c63e4b6a2af6e2b8d8a23e54">00230</a> <a class="code" href="classxercesc_1_1MemoryManager.html" title="Configurable memory manager.">MemoryManager</a>* fMemoryManager;
|
|
<a name="l00231"></a>00231
|
|
<a name="l00232"></a>00232 <span class="keyword">private</span>:
|
|
<a name="l00233"></a>00233
|
|
<a name="l00241"></a>00241 <span class="keywordtype">bool</span> fMsgOwned;
|
|
<a name="l00242"></a>00242
|
|
<a name="l00243"></a>00243 <span class="keyword">private</span>:
|
|
<a name="l00244"></a>00244 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00245"></a>00245 <span class="comment">// Unimplemented constructors and operators</span>
|
|
<a name="l00246"></a>00246 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00247"></a>00247 <a class="code" href="classxercesc_1_1DOMException.html">DOMException</a> & operator = (<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMException.html">DOMException</a> &);
|
|
<a name="l00248"></a>00248 };
|
|
<a name="l00249"></a>00249
|
|
<a name="l00250"></a><a class="code" href="classxercesc_1_1DOMException.html#a4a21ecf22e60696d30d885d60f74aec1">00250</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* DOMException::getMessage()<span class="keyword"> const</span>
|
|
<a name="l00251"></a>00251 <span class="keyword"></span>{
|
|
<a name="l00252"></a>00252 <span class="keywordflow">return</span> <a class="code" href="classxercesc_1_1DOMException.html#a51f4ddc8f8ac7177c9d3fc75ff276f12" title="A string value.">msg</a>;
|
|
<a name="l00253"></a>00253 }
|
|
<a name="l00254"></a>00254
|
|
<a name="l00255"></a>00255 XERCES_CPP_NAMESPACE_END
|
|
<a name="l00256"></a>00256
|
|
<a name="l00257"></a>00257 <span class="preprocessor">#endif</span>
|
|
</pre></div></div>
|
|
<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Mar 1 21:16:20 2010 for XQilla DOM Level 3 API by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
|
|
</body>
|
|
</html>
|