127 lines
9.1 KiB
HTML
127 lines
9.1 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.3.9.1 -->
|
|
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="examples.html">Examples</a></div>
|
|
<div class="nav">
|
|
<a class="el" href="dir_000000.html">xerces-c-3.0.1</a> / <a class="el" href="dir_000001.html">src</a> / <a class="el" href="dir_000002.html">xercesc</a> / <a class="el" href="dir_000003.html">dom</a></div>
|
|
<h1>DOMException.hpp</h1><a href="DOMException_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
|
|
00002 <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span>
|
|
00003 <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span>
|
|
00004 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
|
|
00005 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
|
|
00006 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
|
|
00007 <span class="comment"> * the License. You may obtain a copy of the License at</span>
|
|
00008 <span class="comment"> *</span>
|
|
00009 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
|
|
00010 <span class="comment"> *</span>
|
|
00011 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
|
|
00012 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
|
|
00013 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
|
|
00014 <span class="comment"> * See the License for the specific language governing permissions and</span>
|
|
00015 <span class="comment"> * limitations under the License.</span>
|
|
00016 <span class="comment"> */</span>
|
|
00017
|
|
00018 <span class="comment">/*</span>
|
|
00019 <span class="comment"> * $Id: DOMException.hpp 671894 2008-06-26 13:29:21Z borisk $</span>
|
|
00020 <span class="comment"> */</span>
|
|
00021
|
|
00022 <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_DOMEXCEPTION_HPP)</span>
|
|
<a name="l00023"></a><a class="code" href="DOMException_8hpp.html#a0">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESC_INCLUDE_GUARD_DOMEXCEPTION_HPP</span>
|
|
00024 <span class="preprocessor"></span>
|
|
00025 <span class="preprocessor">#include <xercesc/util/XercesDefs.hpp></span>
|
|
00026 <span class="preprocessor">#include <<a class="code" href="PlatformUtils_8hpp.html">xercesc/util/PlatformUtils.hpp</a>></span>
|
|
00027
|
|
00028 XERCES_CPP_NAMESPACE_BEGIN
|
|
00029
|
|
00030
|
|
00050 <span class="keyword">class </span>MemoryManager;
|
|
00051
|
|
<a name="l00052"></a><a class="code" href="classxercesc_1_1DOMException.html">00052</a> <span class="keyword">class </span>CDOM_EXPORT DOMException {
|
|
00053 <span class="keyword">public</span>:
|
|
00054 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00055 <span class="comment">// Class Types</span>
|
|
00056 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00137"></a><a class="code" href="classxercesc_1_1DOMException.html#z179_0">00137</a> <span class="comment"></span> <span class="keyword">enum</span> ExceptionCode {
|
|
00138 INDEX_SIZE_ERR = 1,
|
|
00139 DOMSTRING_SIZE_ERR = 2,
|
|
00140 HIERARCHY_REQUEST_ERR = 3,
|
|
00141 WRONG_DOCUMENT_ERR = 4,
|
|
00142 INVALID_CHARACTER_ERR = 5,
|
|
00143 NO_DATA_ALLOWED_ERR = 6,
|
|
00144 NO_MODIFICATION_ALLOWED_ERR = 7,
|
|
00145 NOT_FOUND_ERR = 8,
|
|
00146 NOT_SUPPORTED_ERR = 9,
|
|
00147 INUSE_ATTRIBUTE_ERR = 10,
|
|
00148 INVALID_STATE_ERR = 11,
|
|
00149 SYNTAX_ERR = 12,
|
|
00150 INVALID_MODIFICATION_ERR = 13,
|
|
00151 NAMESPACE_ERR = 14,
|
|
00152 INVALID_ACCESS_ERR = 15,
|
|
00153 VALIDATION_ERR = 16,
|
|
00154 TYPE_MISMATCH_ERR = 17
|
|
00155 };
|
|
00157
|
|
00158 <span class="keyword">public</span>:
|
|
00159 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00160 <span class="comment">// Constructors</span>
|
|
00161 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00168 <span class="comment"></span> DOMException();
|
|
00169
|
|
00177 DOMException(<span class="keywordtype">short</span> code,
|
|
00178 <span class="keywordtype">short</span> messageCode = 0,
|
|
00179 <a class="code" href="classxercesc_1_1MemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> memoryManager = XMLPlatformUtils::fgMemoryManager);
|
|
00180
|
|
00186 DOMException(<span class="keyword">const</span> DOMException &other);
|
|
00187
|
|
00189
|
|
00190 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00191 <span class="comment">// Destructors</span>
|
|
00192 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00199 <span class="comment"></span> <span class="keyword">virtual</span> ~DOMException();
|
|
00201
|
|
00202
|
|
00203 <span class="keyword">public</span>:
|
|
00204 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00205 <span class="comment">// Getter</span>
|
|
00206 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00207 <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* getMessage() <span class="keyword">const</span>;
|
|
00208
|
|
00209 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00210 <span class="comment">// Class Types</span>
|
|
00211 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00218"></a><a class="code" href="classxercesc_1_1DOMException.html#z185_0">00218</a> <span class="comment"></span> <span class="keywordtype">short</span> code;
|
|
00219
|
|
<a name="l00226"></a><a class="code" href="classxercesc_1_1DOMException.html#z185_1">00226</a> <span class="keyword">const</span> XMLCh *msg;
|
|
00228
|
|
00229 <span class="keyword">protected</span>:
|
|
<a name="l00230"></a><a class="code" href="classxercesc_1_1DOMException.html#p0">00230</a> <a class="code" href="classxercesc_1_1MemoryManager.html">MemoryManager</a>* fMemoryManager;
|
|
00231
|
|
00232 <span class="keyword">private</span>:
|
|
00233
|
|
00241 <span class="keywordtype">bool</span> fMsgOwned;
|
|
00242
|
|
00243 <span class="keyword">private</span>:
|
|
00244 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00245 <span class="comment">// Unimplemented constructors and operators</span>
|
|
00246 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00247 DOMException & operator = (<span class="keyword">const</span> DOMException &);
|
|
00248 };
|
|
00249
|
|
<a name="l00250"></a><a class="code" href="classxercesc_1_1DOMException.html#a0">00250</a> <span class="keyword">inline</span> <span class="keyword">const</span> XMLCh* DOMException::getMessage()<span class="keyword"> const</span>
|
|
00251 <span class="keyword"></span>{
|
|
00252 <span class="keywordflow">return</span> msg;
|
|
00253 }
|
|
00254
|
|
00255 XERCES_CPP_NAMESPACE_END
|
|
00256
|
|
00257 <span class="preprocessor">#endif</span>
|
|
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 25 06:55:48 2009 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.3.9.1 </small></address>
|
|
</body>
|
|
</html>
|