diff options
Diffstat (limited to 'cpp/src/XMLTransform/ErrorReporter.h')
-rw-r--r-- | cpp/src/XMLTransform/ErrorReporter.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/cpp/src/XMLTransform/ErrorReporter.h b/cpp/src/XMLTransform/ErrorReporter.h deleted file mode 100644 index fe75e11bdbb..00000000000 --- a/cpp/src/XMLTransform/ErrorReporter.h +++ /dev/null @@ -1,54 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003 -// ZeroC, Inc. -// Billerica, MA, USA -// -// All Rights Reserved. -// -// Ice is free software; you can redistribute it and/or modify it under -// the terms of the GNU General Public License version 2 as published by -// the Free Software Foundation. -// -// ********************************************************************** - -#ifndef ERROR_REPORTER_H -#define ERROR_REPORTER_H - -#include <Ice/Xerces.h> -#include <xercesc/sax/ErrorHandler.hpp> -#include <xercesc/sax/SAXParseException.hpp> - -#include <string> - -namespace XMLTransform -{ - -class DOMTreeErrorReporter : public ICE_XERCES_NS ErrorHandler -{ -public: - - DOMTreeErrorReporter(); - - void warning(const ICE_XERCES_NS SAXParseException&); - - void error(const ICE_XERCES_NS SAXParseException&); - - void fatalError(const ICE_XERCES_NS SAXParseException&); - - void resetErrors(); - - bool getSawErrors() const; - - ::std::string getErrors() const; - -private: - - ::std::string _errors; - - ::std::string toString(const XMLCh*); -}; - -} - -#endif |