Exemple #1
0
bool ExampleLoader::XMLHandler::fatalError(const QXmlParseException& e)
{
  PROCESSORSLOGINIT;
  LWARN << "Warning at file " << e.systemId()
        << ", line " << e.lineNumber()
        << ", char " << e.columnNumber()
        << "  Message: " << e.message();
        return false;
}
bool SpecificEntitiesLoader::XMLHandler::fatalError(const QXmlParseException& e)
{
  LOGINIT("LP::SpecificEntities");
  LWARN << "Warning at file " << toString(e.systemId())
        << ", line " << e.lineNumber()
        << ", char " << e.columnNumber()
        << "  Message: " << toString(e.message());
        return false;
}
Exemple #3
0
bool ExampleLoader::XMLHandler::warning(const QXmlParseException& e)
{
  PROCESSORSLOGINIT;
  LERROR << "Error at file " << e.systemId()
         << ", line " << e.lineNumber()
         << ", char " << e.columnNumber()
         << "  Message: " << e.message();
         return true;
}
bool SpecificEntitiesLoader::XMLHandler::warning(const QXmlParseException& e)
{
  LOGINIT("LP::SpecificEntities");
  LERROR << "Error at file " << toString(e.systemId())
         << ", line " << e.lineNumber()
         << ", char " << e.columnNumber()
         << "  Message: " << toString(e.message());
         return true;
}
bool XMLConfigurationFileHandler::warning(const QXmlParseException& e)
{
  XMLCFGLOGINIT;
  LWARN << "Warning at file " << e.systemId()
  << ", line " << e.lineNumber()
  << ", char " << e.columnNumber()
  << "  Message: " << e.message();
  return true;
}
bool XMLConfigurationFileHandler::fatalError(const QXmlParseException& e)
{
  XMLCFGLOGINIT;
  LERROR << "Fatal Error at file " << e.systemId()
  << ", line " << e.lineNumber()
  << ", char " << e.columnNumber()
  << "  Message: " << e.message();
  return false;
}
Exemple #7
0
bool ContentHandler::fatalError(const QXmlParseException & exception)
{
    m_result += nestPrefix();
    m_result += "fatalError(exception={columnNumber="
                + QString::number(exception.columnNumber())
                + ", lineNumber="
                + QString::number(exception.lineNumber())
                + ", publicId=\"" + escapeStr(exception.publicId())
                + "\", systemId=\"" + escapeStr(exception.systemId())
                + "\", message=\"" + escapeStr(exception.message())
                + "\"})\n";
    return TRUE;
}
Exemple #8
0
bool ContentHandler::warning(const QXmlParseException & exception)
{
    m_error_msg = QString("Warning %1:%2: %3")
                    .arg(exception.columnNumber())
                    .arg(exception.lineNumber())
                    .arg(exception.message());
    m_result += nestPrefix();
    m_result += "warning(exception={columnNumber="
		    + QString::number(exception.columnNumber())
		    + ", lineNumber="
		    + QString::number(exception.lineNumber())
		    + ", publicId=\"" + escapeStr(exception.publicId())
		    + "\", systemId=\"" + escapeStr(exception.systemId())
		    + "\", message=\"" + escapeStr(exception.message())
		    + "\"})\n";
    return TRUE;
}