DOMRangeException.hpp
Go to the documentation of this file.
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* $Id: DOMRangeException.hpp 932889 2010-04-11 13:10:10Z borisk $
*/
#if !defined(XERCESC_INCLUDE_GUARD_DOMRANGEEXCEPTION_HPP)
#define XERCESC_INCLUDE_GUARD_DOMRANGEEXCEPTION_HPP
#include <xercesc/dom/DOMException.hpp>
XERCES_CPP_NAMESPACE_BEGIN
class CDOM_EXPORT DOMRangeException : public DOMException {
public:
// -----------------------------------------------------------------------
// Class Types
// -----------------------------------------------------------------------
enum RangeExceptionCode {
BAD_BOUNDARYPOINTS_ERR = 111,
INVALID_NODE_TYPE_ERR = 112
};
public:
// -----------------------------------------------------------------------
// Constructors
// -----------------------------------------------------------------------
DOMRangeException();
DOMRangeException(short code,
short messageCode,
MemoryManager* const memoryManager);
DOMRangeException(const DOMRangeException &other);
// -----------------------------------------------------------------------
// Destructors
// -----------------------------------------------------------------------
virtual ~DOMRangeException();
private:
// -----------------------------------------------------------------------
// Unimplemented constructors and operators
// -----------------------------------------------------------------------
DOMRangeException & operator = (const DOMRangeException &);
};
XERCES_CPP_NAMESPACE_END
#endif
DOMRangeException::RangeExceptionCode
RangeExceptionCode
Enumerators for DOM Range Exceptions.
Definition: DOMRangeException.hpp:56
DOMRangeException
Range operations may throw a DOMRangeException as specified in their method descriptions.
Definition: DOMRangeException.hpp:36
DOMException
Definition: DOMException.hpp:52
DOMException.hpp
MemoryManager
Configurable memory manager.
Definition: MemoryManager.hpp:39
CDOM_EXPORT
#define CDOM_EXPORT
Definition: XercesDefs.hpp:166
XERCES_CPP_NAMESPACE_BEGIN
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
XERCES_CPP_NAMESPACE_END
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113