Xalan-C++ API Reference  1.12.0
XercesDOMException.hpp
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements. See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership. The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18 #if !defined(XERCESDOMEXCEPTION_HEADER_GUARD_1357924680)
19 #define XERCESDOMEXCEPTION_HEADER_GUARD_1357924680
20 
21 
22 
24 
25 
26 
27 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE)
28 #include <xercesc/dom/deprecated/DOM_DOMException.hpp>
29 #endif
30 #include <xercesc/dom/DOMException.hpp>
31 
32 
33 
35 
36 
37 
38 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE)
40 #endif
42 
43 
44 
45 namespace XALAN_CPP_NAMESPACE {
46 
47 
48 
50 {
51 public:
52 
53  /** @name Constructors and assignment operator */
54  //@{
55 
56  /**
57  * Constructor which takes an error code.
58  *
59  * @param code The error code which indicates the exception
60  */
61  explicit
62  XercesDOMException(ExceptionCode code = UNKNOWN_ERR);
63 
64 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE)
65  /**
66  * This constructor is deprecated.
67  *
68  * Constructor which takes a Xerces exception and
69  * translates it into a XercesDOMException.
70  *
71  * @deprecated The Xerces DOM bridge is deprecated.
72  * @param code The Xerces DOM_DOMException instance.
73  */
74  XercesDOMException(const DOM_DOMExceptionType& theException);
75 #endif
76 
77 #if XERCES_VERSION_MAJOR >= 2
78  /**
79  * Constructor which takes a Xerces exception and
80  * translates it into a XercesDOMException.
81  *
82  * @param code The Xerces DOMException instance.
83  */
84  XercesDOMException(const DOMExceptionType& theException);
85 
86 #endif
87 
88  /**
89  * Copy constructor.
90  *
91  * @param other The object to be copied.
92  */
93  XercesDOMException(const XercesDOMException& theSource);
94 
95  //@}
96  /** @name Destructor. */
97  //@{
98 
99  /**
100  * Destructor for XercesDOMException.
101  */
102  virtual
104  //@}
105 
106 private:
107 };
108 
109 
110 
111 }
112 
113 
114 
115 #endif // !defined(XERCESDOMEXCEPTION_HEADER_GUARD_1357924680)
xalanc::DOM_DOMExceptionType
xercesc::DOM_DOMException DOM_DOMExceptionType
Definition: XercesBridgeTypes.hpp:81
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition: XalanVersion.hpp:76
xalanc::DOMExceptionType
xercesc::DOMException DOMExceptionType
Definition: XercesWrapperTypes.hpp:75
xalanc::XalanDOMException
Definition: XalanDOMException.hpp:39
xalanc::XercesDOMException
Definition: XercesDOMException.hpp:49
XercesParserLiaisonDefinitions.hpp
XALAN_XERCESPARSERLIAISON_EXPORT
#define XALAN_XERCESPARSERLIAISON_EXPORT
Definition: XercesParserLiaisonDefinitions.hpp:39
xalanc::XalanDOMException::ExceptionCode
ExceptionCode
Definition: XalanDOMException.hpp:45
XercesWrapperTypes.hpp
XalanDOMException.hpp
XercesBridgeTypes.hpp