| API Docs for SAX and DOM |

Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

# DOMRangeException.hpp

Go to the documentation of this file.

    00001 #ifndef DOMRangeException_HEADER_GUARD_
    00002 #define DOMRangeException_HEADER_GUARD_
    00003
    00004 /*
    00005  * Copyright 2001-2002,2004 The Apache Software Foundation.
    00006  *
    00007  * Licensed under the Apache License, Version 2.0 (the "License");
    00008  * you may not use this file except in compliance with the License.
    00009  * You may obtain a copy of the License at
    00010  *
    00011  *      http://www.apache.org/licenses/LICENSE-2.0
    00012  *
    00013  * Unless required by applicable law or agreed to in writing, software
    00014  * distributed under the License is distributed on an "AS IS" BASIS,
    00015  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00016  * See the License for the specific language governing permissions and
    00017  * limitations under the License.
    00018  */
    00019
    00020 /*
    00021  * $Id: DOMRangeException.hpp 176026 2004-09-08 13:57:07Z peiyongz $
    00022  */
    00023
    00024 #include <xercesc/dom/DOMException.hpp>
    00025
    00026 XERCES_CPP_NAMESPACE_BEGIN
    00027
    00035 class  DOMRangeException  : public DOMException {
    00036 public:
    00037     // -----------------------------------------------------------------------
    00038     //  Class Types
    00039     // -----------------------------------------------------------------------
    00055         enum RangeExceptionCode {
    00056                 BAD_BOUNDARYPOINTS_ERR  = 1,
    00057                 INVALID_NODE_TYPE_ERR   = 2
    00058         };
    00060
    00061 public:
    00062     // -----------------------------------------------------------------------
    00063     //  Constructors
    00064     // -----------------------------------------------------------------------
    00071     DOMRangeException();
    00072
    00080     DOMRangeException(
    00081                             RangeExceptionCode       code
    00082                     , const XMLCh*                   message
    00083                     ,       MemoryManager*     const memoryManager
    00084                      );
    00085
    00091     DOMRangeException(const DOMRangeException &other);
    00093
    00094     // -----------------------------------------------------------------------
    00095     //  Destructors
    00096     // -----------------------------------------------------------------------
    00103     virtual ~DOMRangeException();
    00105
    00106 public:
    00107     // -----------------------------------------------------------------------
    00108     //  Class Types
    00109     // -----------------------------------------------------------------------
    00118     RangeExceptionCode   code;
    00119
    00121
    00122 private:
    00123     // -----------------------------------------------------------------------
    00124     // Unimplemented constructors and operators
    00125     // -----------------------------------------------------------------------
    00126     DOMRangeException & operator = (const DOMRangeException &);
    00127 };
    00128
    00129 XERCES_CPP_NAMESPACE_END
    00130
    00131 #endif
    00132

Copyright © 1994-2004 The Apache Software Foundation. All Rights Reserved.