aknlayoutcompiler/inc/SaxErrorHandler.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 14 Sep 2010 23:14:45 +0300
branchRCL_3
changeset 20 8b4f687b7a95
parent 1 b700e12870ca
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*       Defines the entry point for the console application
*
*/



//
// class SAXErrorHandler
//

#ifndef __SAXERRORHANDLER_H_
#define __SAXERRORHANDLER_H_

#include <DOM/SAX2DOM/SAX2DOM.hpp>
#include <SAX/ErrorHandler.hpp>

class SAXErrorHandler : public Arabica::SAX::ErrorHandler<std::string>
	{
public:
  SAXErrorHandler() { }
  virtual ~SAXErrorHandler() { }
public: // from SAX::ErrorHandler
  virtual void warning(const Arabica::SAX::SAXParseException<std::string>&);
  virtual void error(const Arabica::SAX::SAXParseException<std::string>&);
  virtual void fatalError(const Arabica::SAX::SAXParseException<std::string>&);
	};

#endif // __SAXERRORHANDLER_H_