http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Release Info

Installation
Download
Build

FAQs
Samples
API Docs

DOM C++ Binding
Programming
Migration Guide

Feedback
Bug-Reporting
PDF Document

CVS Repository
Mail Archive

API Docs for SAX and DOM
 

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

DOMXPathException.hpp

Go to the documentation of this file.
00001 #ifndef DOMXPathException_HEADER_GUARD_
00002 #define DOMXPathException_HEADER_GUARD_
00003 
00004 /*
00005  * Copyright 2001-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 #include <xercesc/util/XercesDefs.hpp>
00021 
00022 XERCES_CPP_NAMESPACE_BEGIN
00023 
00027 class  DOMXPathException
00028 {
00029 public:
00030     // -----------------------------------------------------------------------
00031     //  Constructors
00032     // -----------------------------------------------------------------------
00039     DOMXPathException();
00040 
00047     DOMXPathException(short code, const XMLCh *message);
00048 
00054     DOMXPathException(const DOMXPathException  &other);
00055 
00057 
00058     // -----------------------------------------------------------------------
00059     //  Destructors
00060     // -----------------------------------------------------------------------
00067     virtual ~DOMXPathException();
00069 
00070 public:
00071 
00073 
00081     enum ExceptionCode {
00082         INVALID_EXPRESSION_ERR = 51,
00083         TYPE_ERR = 52
00084     };
00086 
00087     // -----------------------------------------------------------------------
00088     //  Class Types
00089     // -----------------------------------------------------------------------
00096     ExceptionCode   code;
00097 
00104     const XMLCh *msg;
00106 
00107 private:
00108     // -----------------------------------------------------------------------
00109     // Unimplemented constructors and operators
00110     // -----------------------------------------------------------------------
00111     DOMXPathException& operator = (const DOMXPathException&);
00112 };
00113 
00114 XERCES_CPP_NAMESPACE_END
00115 
00116 #endif


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