137 lines
11 KiB
HTML
137 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 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.5.1 -->
|
|
<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"> * Licensed to the Apache Software Foundation (ASF) under one or more</span>
|
|
<a name="l00006"></a>00006 <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span>
|
|
<a name="l00007"></a>00007 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
|
|
<a name="l00008"></a>00008 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
|
|
<a name="l00009"></a>00009 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
|
|
<a name="l00010"></a>00010 <span class="comment"> * the License. You may obtain a copy of the License at</span>
|
|
<a name="l00011"></a>00011 <span class="comment"> * </span>
|
|
<a name="l00012"></a>00012 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
|
|
<a name="l00013"></a>00013 <span class="comment"> * </span>
|
|
<a name="l00014"></a>00014 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
|
|
<a name="l00015"></a>00015 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
|
|
<a name="l00016"></a>00016 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
|
|
<a name="l00017"></a>00017 <span class="comment"> * See the License for the specific language governing permissions and</span>
|
|
<a name="l00018"></a>00018 <span class="comment"> * limitations under the License.</span>
|
|
<a name="l00019"></a>00019 <span class="comment"> */</span>
|
|
<a name="l00020"></a>00020
|
|
<a name="l00021"></a>00021 <span class="comment">/*</span>
|
|
<a name="l00022"></a>00022 <span class="comment"> * $Id: DOMException.hpp 568078 2007-08-21 11:43:25Z amassari $</span>
|
|
<a name="l00023"></a>00023 <span class="comment"> */</span>
|
|
<a name="l00024"></a>00024
|
|
<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">// Constructors</span>
|
|
<a name="l00056"></a>00056 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00063"></a>00063 <span class="comment"></span> <a class="code" href="classxercesc_1_1DOMException.html">DOMException</a>();
|
|
<a name="l00064"></a>00064
|
|
<a name="l00072"></a>00072 <a class="code" href="classxercesc_1_1DOMException.html">DOMException</a>(
|
|
<a name="l00073"></a>00073 <span class="keywordtype">short</span> code
|
|
<a name="l00074"></a>00074 , <span class="keyword">const</span> XMLCh* message
|
|
<a name="l00075"></a>00075 , <a class="code" href="classxercesc_1_1MemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> memoryManager = XMLPlatformUtils::fgMemoryManager
|
|
<a name="l00076"></a>00076 );
|
|
<a name="l00077"></a>00077
|
|
<a name="l00083"></a>00083 <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="l00084"></a>00084
|
|
<a name="l00086"></a>00086
|
|
<a name="l00087"></a>00087 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00088"></a>00088 <span class="comment">// Destructors</span>
|
|
<a name="l00089"></a>00089 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00096"></a>00096 <span class="comment"></span> <span class="keyword">virtual</span> ~<a class="code" href="classxercesc_1_1DOMException.html">DOMException</a>();
|
|
<a name="l00098"></a>00098
|
|
<a name="l00099"></a>00099 <span class="keyword">public</span>:
|
|
<a name="l00100"></a>00100 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00101"></a>00101 <span class="comment">// Class Types</span>
|
|
<a name="l00102"></a>00102 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00179"></a><a class="code" href="classxercesc_1_1DOMException.html#e5ad88bd9f571a66a8029941ae213d56">00179</a> <span class="comment"></span> <span class="keyword">enum</span> <a class="code" href="classxercesc_1_1DOMException.html#e5ad88bd9f571a66a8029941ae213d56">ExceptionCode</a> {
|
|
<a name="l00180"></a>00180 INDEX_SIZE_ERR = 1,
|
|
<a name="l00181"></a>00181 DOMSTRING_SIZE_ERR = 2,
|
|
<a name="l00182"></a>00182 HIERARCHY_REQUEST_ERR = 3,
|
|
<a name="l00183"></a>00183 WRONG_DOCUMENT_ERR = 4,
|
|
<a name="l00184"></a>00184 INVALID_CHARACTER_ERR = 5,
|
|
<a name="l00185"></a>00185 NO_DATA_ALLOWED_ERR = 6,
|
|
<a name="l00186"></a>00186 NO_MODIFICATION_ALLOWED_ERR = 7,
|
|
<a name="l00187"></a>00187 NOT_FOUND_ERR = 8,
|
|
<a name="l00188"></a>00188 NOT_SUPPORTED_ERR = 9,
|
|
<a name="l00189"></a>00189 INUSE_ATTRIBUTE_ERR = 10,
|
|
<a name="l00190"></a>00190 INVALID_STATE_ERR = 11,
|
|
<a name="l00191"></a>00191 SYNTAX_ERR = 12,
|
|
<a name="l00192"></a>00192 INVALID_MODIFICATION_ERR = 13,
|
|
<a name="l00193"></a>00193 NAMESPACE_ERR = 14,
|
|
<a name="l00194"></a>00194 INVALID_ACCESS_ERR = 15,
|
|
<a name="l00195"></a>00195 VALIDATION_ERR = 16
|
|
<a name="l00196"></a>00196 };
|
|
<a name="l00198"></a>00198
|
|
<a name="l00199"></a>00199 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00200"></a>00200 <span class="comment">// Getter</span>
|
|
<a name="l00201"></a>00201 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00202"></a>00202 <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* getMessage() <span class="keyword">const</span>;
|
|
<a name="l00203"></a>00203
|
|
<a name="l00204"></a>00204 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00205"></a>00205 <span class="comment">// Class Types</span>
|
|
<a name="l00206"></a>00206 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00213"></a><a class="code" href="classxercesc_1_1DOMException.html#c4a8f81a9038b083df54b2be440954ce">00213</a> <span class="comment"></span> <a class="code" href="classxercesc_1_1DOMException.html#e5ad88bd9f571a66a8029941ae213d56">ExceptionCode</a> code;
|
|
<a name="l00214"></a>00214
|
|
<a name="l00221"></a><a class="code" href="classxercesc_1_1DOMException.html#51f4ddc8f8ac7177c9d3fc75ff276f12">00221</a> <span class="keyword">const</span> XMLCh *msg;
|
|
<a name="l00223"></a>00223
|
|
<a name="l00224"></a>00224 <span class="keyword">protected</span>:
|
|
<a name="l00225"></a>00225
|
|
<a name="l00226"></a><a class="code" href="classxercesc_1_1DOMException.html#4ca961d9c63e4b6a2af6e2b8d8a23e54">00226</a> <a class="code" href="classxercesc_1_1MemoryManager.html">MemoryManager</a>* fMemoryManager;
|
|
<a name="l00227"></a>00227
|
|
<a name="l00228"></a>00228 <span class="keyword">private</span>:
|
|
<a name="l00229"></a>00229
|
|
<a name="l00237"></a>00237 <span class="keywordtype">bool</span> fMsgOwned;
|
|
<a name="l00238"></a>00238
|
|
<a name="l00239"></a>00239 <span class="keyword">private</span>:
|
|
<a name="l00240"></a>00240 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00241"></a>00241 <span class="comment">// Unimplemented constructors and operators</span>
|
|
<a name="l00242"></a>00242 <span class="comment">// ----------------------------------------------------------------------- </span>
|
|
<a name="l00243"></a>00243 <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="l00244"></a>00244 };
|
|
<a name="l00245"></a>00245
|
|
<a name="l00246"></a><a class="code" href="classxercesc_1_1DOMException.html#f45b38a59a48ca19b6981a51b7bbcf22">00246</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* DOMException::getMessage()<span class="keyword"> const</span>
|
|
<a name="l00247"></a>00247 <span class="keyword"></span>{
|
|
<a name="l00248"></a>00248 <span class="keywordflow">return</span> <a class="code" href="classxercesc_1_1DOMException.html#51f4ddc8f8ac7177c9d3fc75ff276f12">msg</a>;
|
|
<a name="l00249"></a>00249 }
|
|
<a name="l00250"></a>00250
|
|
<a name="l00251"></a>00251 XERCES_CPP_NAMESPACE_END
|
|
<a name="l00252"></a>00252
|
|
<a name="l00253"></a>00253 <span class="preprocessor">#endif</span>
|
|
<a name="l00254"></a>00254 <span class="preprocessor"></span>
|
|
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Apr 28 16:41:15 2008 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.5.1 </small></address>
|
|
</body>
|
|
</html>
|