aknlayoutcompiler/src/SaxErrorHandler.cpp
changeset 1 b700e12870ca
parent 0 f58d6ec98e88
equal deleted inserted replaced
0:f58d6ec98e88 1:b700e12870ca
    21 // class SAXErrorHandler
    21 // class SAXErrorHandler
    22 //
    22 //
    23 
    23 
    24 #include "SaxErrorHandler.h"
    24 #include "SaxErrorHandler.h"
    25 
    25 
    26 void SAXErrorHandler::warning(const SAX::SAXParseException& exception)
    26 void SAXErrorHandler::warning(const Arabica::SAX::SAXParseException<std::string>& exception)
    27 {
    27 {
    28   std::cerr << "WARNING: " << exception.what() << std::endl;
    28   std::cerr << "WARNING: " << exception.what() << std::endl;
    29 } // warning
    29 } // warning
    30 
    30 
    31 void SAXErrorHandler::error(const SAX::SAXParseException& exception)
    31 void SAXErrorHandler::error(const Arabica::SAX::SAXParseException<std::string>& exception)
    32 {
    32 {
    33   std::cerr << "ERROR  : " << exception.what() << std::endl;
    33   std::cerr << "ERROR  : " << exception.what() << std::endl;
    34 } // error
    34 } // error
    35 
    35 
    36 void SAXErrorHandler::fatalError(const SAX::SAXParseException& exception)
    36 void SAXErrorHandler::fatalError(const Arabica::SAX::SAXParseException<std::string>& exception)
    37 {
    37 {
    38   std::cerr << "FATAL  : " << exception.what() << std::endl;
    38   std::cerr << "FATAL  : " << exception.what() << std::endl;
    39 } // fatalError
    39 } // fatalError