00001 00005 /* -------------------------------------------------------------- 00006 Copyright (C) 2001 LifeLine Networks BV <soap2corba@lifeline.nl> 00007 00008 This program is free software; you can redistribute it and/or 00009 modify it under the terms of the GNU General Public License 00010 as published by the Free Software Foundation; either 00011 version 2 of the License, or (at your option) any later 00012 version. 00013 00014 This program is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with this program; if not, write to the Free Software 00021 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00022 -------------------------------------------------------------- */ 00023 #if !defined(AFX_DOMTREEERRORREPORTER_H__B86118A5_708F_459F_8130_6161A05117C2__INCLUDED_) 00024 00025 #define AFX_DOMTREEERRORREPORTER_H__B86118A5_708F_459F_8130_6161A05117C2__INCLUDED_ 00026 00027 #if _MSC_VER > 1000 00028 #pragma once 00029 #endif // _MSC_VER > 1000 00030 00031 class DOMTreeErrorReporter : public ErrorHandler 00032 { 00033 public: 00034 DOMTreeErrorReporter(); 00035 virtual ~DOMTreeErrorReporter(); 00036 00037 // ----------------------------------------------------------------------- 00038 // Implementation of the error handler interface 00039 // ----------------------------------------------------------------------- 00040 void warning(const SAXParseException& toCatch); 00041 void error(const SAXParseException& toCatch); 00042 void fatalError(const SAXParseException& toCatch); 00043 void resetErrors(); 00044 }; 00045 00046 #endif // !defined(AFX_DOMTREEERRORREPORTER_H__B86118A5_708F_459F_8130_6161A05117C2__INCLUDED_) 00047