Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XalanDOMException.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #if !defined(XALANDOMEXCEPTION_HEADER_GUARD_1357924680)
17 #define XALANDOMEXCEPTION_HEADER_GUARD_1357924680
18 
19 
20 
22 
23 
24 
25 XALAN_CPP_NAMESPACE_BEGIN
26 
27 
28 
29 /*
30  * <meta name="usage" content="experimental"/>
31  *
32  * Base class for the DOM Exception interface.
33  *
34  * This class is experimental and subject to change!!
35  */
36 
38 {
39 public:
40 
44  {
45  // These are the errors as defined in the W3C DOM recommendation.
46  INDEX_SIZE_ERR = 1,
47  DOMSTRING_SIZE_ERR = 2,
48  HIERARCHY_REQUEST_ERR = 3,
49  WRONG_DOCUMENT_ERR = 4,
50  INVALID_CHARACTER_ERR = 5,
51  NO_DATA_ALLOWED_ERR = 6,
52  NO_MODIFICATION_ALLOWED_ERR = 7,
53  NOT_FOUND_ERR = 8,
54  NOT_SUPPORTED_ERR = 9,
55  INUSE_ATTRIBUTE_ERR = 10,
56  INVALID_STATE_ERR = 11,
57  SYNTAX_ERR = 12,
58  INVALID_MODIFICATION_ERR = 13,
59  NAMESPACE_ERR = 14,
60  INVALID_ACCESS_ERR = 15,
61 
62  // This is the first available number,
63  // according to the spec.
64  UNKNOWN_ERR = 201,
65 
66  // Indicates that an error occurred transcoding a
67  // string.
68  TRANSCODING_ERR = 202
69  };
71 
74 
80  explicit
81  XalanDOMException(ExceptionCode code = UNKNOWN_ERR);
82 
88  XalanDOMException(const XalanDOMException& theSource);
89 
91 
93 
97  virtual
100 
108  virtual ExceptionCode
109  getExceptionCode() const;
110 
111 private:
112 
113  // Not implemented...
115  operator=(const XalanDOMException&);
116 
117 
118  // Data members...
119  const ExceptionCode m_code;
120 };
121 
122 
123 
124 XALAN_CPP_NAMESPACE_END
125 
126 
127 
128 #endif // !defined(XALANDOMEXCEPTION_HEADER_GUARD_1357924680)
Definition: XalanDOMException.hpp:37
#define XALAN_DOM_EXPORT
Definition: XalanDOMDefinitions.hpp:35
ExceptionCode
Definition: XalanDOMException.hpp:43

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo