135 lines
11 KiB
HTML
135 lines
11 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: DOMException.hpp Source File</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 Page</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li><a href="classes.html"><span>Classes</span></a></li>
|
|
<li id="current"><a href="files.html"><span>Files</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="preprocessor">#ifndef DOMException_HEADER_GUARD_</span>
|
|
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define DOMException_HEADER_GUARD_</span>
|
|
<a name="l00003"></a>00003 <span class="preprocessor"></span>
|
|
<a name="l00004"></a>00004 <span class="comment">/*</span>
|
|
<a name="l00005"></a>00005 <span class="comment"> * Copyright 2001-2002,2004 The Apache Software Foundation.</span>
|
|
<a name="l00006"></a>00006 <span class="comment"> * </span>
|
|
<a name="l00007"></a>00007 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span>
|
|
<a name="l00008"></a>00008 <span class="comment"> * you may not use this file except in compliance with the License.</span>
|
|
<a name="l00009"></a>00009 <span class="comment"> * You may obtain a copy of the License at</span>
|
|
<a name="l00010"></a>00010 <span class="comment"> * </span>
|
|
<a name="l00011"></a>00011 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
|
|
<a name="l00012"></a>00012 <span class="comment"> * </span>
|
|
<a name="l00013"></a>00013 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
|
|
<a name="l00014"></a>00014 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
|
|
<a name="l00015"></a>00015 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
|
|
<a name="l00016"></a>00016 <span class="comment"> * See the License for the specific language governing permissions and</span>
|
|
<a name="l00017"></a>00017 <span class="comment"> * limitations under the License.</span>
|
|
<a name="l00018"></a>00018 <span class="comment"> */</span>
|
|
<a name="l00019"></a>00019
|
|
<a name="l00020"></a>00020 <span class="comment">/*</span>
|
|
<a name="l00021"></a>00021 <span class="comment"> * $Id: DOMException.hpp 176026 2004-09-08 13:57:07Z peiyongz $</span>
|
|
<a name="l00022"></a>00022 <span class="comment"> */</span>
|
|
<a name="l00023"></a>00023
|
|
<a name="l00024"></a>00024 <span class="preprocessor">#include <xercesc/util/XercesDefs.hpp></span>
|
|
<a name="l00025"></a>00025 <span class="preprocessor">#include <<a class="code" href="PlatformUtils_8hpp.html">xercesc/util/PlatformUtils.hpp</a>></span>
|
|
<a name="l00026"></a>00026
|
|
<a name="l00027"></a>00027 XERCES_CPP_NAMESPACE_BEGIN
|
|
<a name="l00028"></a>00028
|
|
<a name="l00029"></a>00029
|
|
<a name="l00049"></a>00049 <span class="keyword">class </span>MemoryManager;
|
|
<a name="l00050"></a>00050
|
|
<a name="l00051"></a><a class="code" href="classxercesc_1_1DOMException.html">00051</a> <span class="keyword">class </span>CDOM_EXPORT <a class="code" href="classxercesc_1_1DOMException.html">DOMException</a> {
|
|
<a name="l00052"></a>00052 <span class="keyword">public</span>:
|
|
<a name="l00053"></a>00053 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00054"></a>00054 <span class="comment">// Constructors</span>
|
|
<a name="l00055"></a>00055 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00062"></a>00062 <span class="comment"></span> <a class="code" href="classxercesc_1_1DOMException.html">DOMException</a>();
|
|
<a name="l00063"></a>00063
|
|
<a name="l00071"></a>00071 <a class="code" href="classxercesc_1_1DOMException.html">DOMException</a>(
|
|
<a name="l00072"></a>00072 <span class="keywordtype">short</span> code
|
|
<a name="l00073"></a>00073 , <span class="keyword">const</span> XMLCh* message
|
|
<a name="l00074"></a>00074 , <a class="code" href="classxercesc_1_1MemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> memoryManager = XMLPlatformUtils::fgMemoryManager
|
|
<a name="l00075"></a>00075 );
|
|
<a name="l00076"></a>00076
|
|
<a name="l00082"></a>00082 <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="l00083"></a>00083
|
|
<a name="l00085"></a>00085
|
|
<a name="l00086"></a>00086 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00087"></a>00087 <span class="comment">// Destructors</span>
|
|
<a name="l00088"></a>00088 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00095"></a>00095 <span class="comment"></span> <span class="keyword">virtual</span> ~<a class="code" href="classxercesc_1_1DOMException.html">DOMException</a>();
|
|
<a name="l00097"></a>00097
|
|
<a name="l00098"></a>00098 <span class="keyword">public</span>:
|
|
<a name="l00099"></a>00099 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00100"></a>00100 <span class="comment">// Class Types</span>
|
|
<a name="l00101"></a>00101 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00178"></a><a class="code" href="classxercesc_1_1DOMException.html#e5ad88bd9f571a66a8029941ae213d56">00178</a> <span class="comment"></span> <span class="keyword">enum</span> <a class="code" href="classxercesc_1_1DOMException.html#e5ad88bd9f571a66a8029941ae213d56">ExceptionCode</a> {
|
|
<a name="l00179"></a>00179 INDEX_SIZE_ERR = 1,
|
|
<a name="l00180"></a>00180 DOMSTRING_SIZE_ERR = 2,
|
|
<a name="l00181"></a>00181 HIERARCHY_REQUEST_ERR = 3,
|
|
<a name="l00182"></a>00182 WRONG_DOCUMENT_ERR = 4,
|
|
<a name="l00183"></a>00183 INVALID_CHARACTER_ERR = 5,
|
|
<a name="l00184"></a>00184 NO_DATA_ALLOWED_ERR = 6,
|
|
<a name="l00185"></a>00185 NO_MODIFICATION_ALLOWED_ERR = 7,
|
|
<a name="l00186"></a>00186 NOT_FOUND_ERR = 8,
|
|
<a name="l00187"></a>00187 NOT_SUPPORTED_ERR = 9,
|
|
<a name="l00188"></a>00188 INUSE_ATTRIBUTE_ERR = 10,
|
|
<a name="l00189"></a>00189 INVALID_STATE_ERR = 11,
|
|
<a name="l00190"></a>00190 SYNTAX_ERR = 12,
|
|
<a name="l00191"></a>00191 INVALID_MODIFICATION_ERR = 13,
|
|
<a name="l00192"></a>00192 NAMESPACE_ERR = 14,
|
|
<a name="l00193"></a>00193 INVALID_ACCESS_ERR = 15,
|
|
<a name="l00194"></a>00194 VALIDATION_ERR = 16
|
|
<a name="l00195"></a>00195 };
|
|
<a name="l00197"></a>00197
|
|
<a name="l00198"></a>00198 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00199"></a>00199 <span class="comment">// Getter</span>
|
|
<a name="l00200"></a>00200 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00201"></a>00201 <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* getMessage() <span class="keyword">const</span>;
|
|
<a name="l00202"></a>00202
|
|
<a name="l00203"></a>00203 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00204"></a>00204 <span class="comment">// Class Types</span>
|
|
<a name="l00205"></a>00205 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00212"></a><a class="code" href="classxercesc_1_1DOMException.html#c4a8f81a9038b083df54b2be440954ce">00212</a> <span class="comment"></span> <a class="code" href="classxercesc_1_1DOMException.html#e5ad88bd9f571a66a8029941ae213d56">ExceptionCode</a> code;
|
|
<a name="l00213"></a>00213
|
|
<a name="l00220"></a><a class="code" href="classxercesc_1_1DOMException.html#51f4ddc8f8ac7177c9d3fc75ff276f12">00220</a> <span class="keyword">const</span> XMLCh *msg;
|
|
<a name="l00222"></a>00222
|
|
<a name="l00223"></a>00223 <span class="keyword">protected</span>:
|
|
<a name="l00224"></a>00224
|
|
<a name="l00225"></a><a class="code" href="classxercesc_1_1DOMException.html#4ca961d9c63e4b6a2af6e2b8d8a23e54">00225</a> <a class="code" href="classxercesc_1_1MemoryManager.html">MemoryManager</a>* fMemoryManager;
|
|
<a name="l00226"></a>00226
|
|
<a name="l00227"></a>00227 <span class="keyword">private</span>:
|
|
<a name="l00228"></a>00228
|
|
<a name="l00236"></a>00236 <span class="keywordtype">bool</span> fMsgOwned;
|
|
<a name="l00237"></a>00237
|
|
<a name="l00238"></a>00238 <span class="keyword">private</span>:
|
|
<a name="l00239"></a>00239 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00240"></a>00240 <span class="comment">// Unimplemented constructors and operators</span>
|
|
<a name="l00241"></a>00241 <span class="comment">// ----------------------------------------------------------------------- </span>
|
|
<a name="l00242"></a>00242 <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="l00243"></a>00243 };
|
|
<a name="l00244"></a>00244
|
|
<a name="l00245"></a><a class="code" href="classxercesc_1_1DOMException.html#4a21ecf22e60696d30d885d60f74aec1">00245</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* DOMException::getMessage()<span class="keyword"> const</span>
|
|
<a name="l00246"></a>00246 <span class="keyword"></span>{
|
|
<a name="l00247"></a>00247 <span class="keywordflow">return</span> <a class="code" href="classxercesc_1_1DOMException.html#51f4ddc8f8ac7177c9d3fc75ff276f12">msg</a>;
|
|
<a name="l00248"></a>00248 }
|
|
<a name="l00249"></a>00249
|
|
<a name="l00250"></a>00250 XERCES_CPP_NAMESPACE_END
|
|
<a name="l00251"></a>00251
|
|
<a name="l00252"></a>00252 <span class="preprocessor">#endif</span>
|
|
<a name="l00253"></a>00253 <span class="preprocessor"></span>
|
|
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Dec 12 00:19:01 2006 for XQilla DOM Level 3 API by
|
|
<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>
|