| API Docs for SAX and DOM |
| Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members # ErrorHandler.hpp Go to the documentation of this file.
    00001 /*
    00002  * Copyright 1999-2000,2004 The Apache Software Foundation.
    00003  *
    00004  * Licensed under the Apache License, Version 2.0 (the "License");
    00005  * you may not use this file except in compliance with the License.
    00006  * You may obtain a copy of the License at
    00007  *
    00008  *      http://www.apache.org/licenses/LICENSE-2.0
    00009  *
    00010  * Unless required by applicable law or agreed to in writing, software
    00011  * distributed under the License is distributed on an "AS IS" BASIS,
    00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00013  * See the License for the specific language governing permissions and
    00014  * limitations under the License.
    00015  */
    00016
    00017 /*
    00018  * $Log: ErrorHandler.hpp,v $
    00019  * Revision 1.6  2004/09/08 13:56:19  peiyongz
    00020  * Apache License Version 2.0
    00021  *
    00022  * Revision 1.5  2003/12/01 23:23:26  neilg
    00023  * fix for bug 25118; thanks to Jeroen Witmond
    00024  *
    00025  * Revision 1.4  2003/05/30 16:11:44  gareth
    00026  * Fixes so we compile under VC7.1. Patch by Alberto Massari.
    00027  *
    00028  * Revision 1.3  2003/03/07 18:10:06  tng
    00029  * Return a reference instead of void for operator=
    00030  *
    00031  * Revision 1.2  2002/11/04 14:56:25  tng
    00032  * C++ Namespace Support.
    00033  *
    00034  * Revision 1.1.1.1  2002/02/01 22:22:08  peiyongz
    00035  * sane_include
    00036  *
    00037  * Revision 1.6  2000/04/27 19:33:15  rahulj
    00038  * Included <util/XercesDefs.hpp> as suggested by David N Bertoni.
    00039  *
    00040  * Revision 1.5  2000/02/24 20:12:55  abagchi
    00041  * Swat for removing Log from API docs
    00042  *
    00043  * Revision 1.4  2000/02/12 03:31:55  rahulj
    00044  * Removed duplicate CVS Log entries.
    00045  *
    00046  * Revision 1.3  2000/02/12 01:27:19  aruna1
    00047  * Documentation updated
    00048  *
    00049  * Revision 1.2  2000/02/06 07:47:57  rahulj
    00050  * Year 2K copyright swat.
    00051  *
    00052  * Revision 1.1.1.1  1999/11/09 01:07:45  twl
    00053  * Initial checkin
    00054  *
    00055  * Revision 1.2  1999/11/08 20:45:00  rahul
    00056  * Swat for adding in Product name and CVS comment log variable.
    00057  *
    00058  */
    00059
    00060
    00061 #ifndef ERRORHANDLER_HPP
    00062 #define ERRORHANDLER_HPP
    00063
    00064 #include <xercesc/util/XercesDefs.hpp>
    00065
    00066 XERCES_CPP_NAMESPACE_BEGIN
    00067
    00068 class SAXParseException;
    00069
    00070
    00099 class  ErrorHandler
    00100 {
    00101 public:
    00105     ErrorHandler()
    00106     {
    00107     }
    00108
    00110     virtual ~ErrorHandler()
    00111     {
    00112     }
    00114
    00134     virtual void warning(const SAXParseException& exc) = 0;
    00135
    00158     virtual void error(const SAXParseException& exc) = 0;
    00159
    00180     virtual void fatalError(const SAXParseException& exc) = 0;
    00181
    00189     virtual void resetErrors() = 0;
    00190
    00191
    00193
    00194 private :
    00195     /* Unimplemented constructors and operators */
    00196
    00197     /* Copy constructor */
    00198     ErrorHandler(const ErrorHandler&);
    00199
    00200     /* Assignment operator */
    00201     ErrorHandler& operator=(const ErrorHandler&);
    00202
    00203 };
    00204
    00205 XERCES_CPP_NAMESPACE_END
    00206
    00207 #endif

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