bool MetaBundle::XmlLoader::fatalError( const QXmlParseException &e ) { if( !m_bundle.isEmpty() ) bundleLoaded(); m_lastError = QString( "Error loading XML: \"%1\", at line %2, column %3." ) .arg( e.message(), QString::number( e.lineNumber() ), QString::number( e.columnNumber() ) ); errorEncountered( e.message(), e.lineNumber(), e.columnNumber() ); return false; }
bool KWord13Parser::fatalError(const QXmlParseException& exception) { kError(30520) << "XML parsing fatal error: line " << exception.lineNumber() << " col " << exception.columnNumber() << " message: " << exception.message(); // ### TODO: user message box return false; // Stop parsing now, we do not need further errors. }
bool KWord13Parser::error(const QXmlParseException& exception) { // A XML error is recoverable, so it is only a KDE warning kWarning(30520) << "XML parsing error: line " << exception.lineNumber() << " col " << exception.columnNumber() << " message: " << exception.message(); return true; }
// ------------------------------------------------------------------ bool XmlHandler::fatalError(const QXmlParseException& exception) { qDebug() << "Line:" << exception.lineNumber() << ", Column:" << exception.columnNumber() << ", Message:" << exception.message(); return false; }
bool warning(const QXmlParseException & exception) { cErr << "Warning (line "<< exception.lineNumber() << " column " << exception.columnNumber() << "): " << exception.message() << Endl; return false; }
bool fatalError( const QXmlParseException &exception ) { debug(1,"Fatal error at line %d column %d: %s\n", exception.lineNumber(),exception.columnNumber(), exception.message().data()); return FALSE; }
bool iTunesXmlHandler::fatalError(const QXmlParseException &exception) { _errorStr = QObject::tr("Parse error at line %1, column %2:\n%3") .arg(exception.lineNumber()) .arg(exception.columnNumber()) .arg(exception.message()); return false; }
bool UBRssHandler::fatalError(const QXmlParseException &exception) { qWarning() << "Fatal error at line " << exception.lineNumber() << ", column " << exception.columnNumber() << ": " << exception.message() << mError; return false; }
bool fatalError(const QXmlParseException & exception) { stream << "Fatal error: " << exception.message() << "\n"; stream << "Line: " << exception.lineNumber() << "\n"; stream << "Column: " << exception.columnNumber() << "\n"; return true; }
bool fatalError(const QXmlParseException & exception) { cErr << "Fatal error (line "<< exception.lineNumber() << " column " << exception.columnNumber() << "): " << exception.message() << Endl; return false; }
bool AliceHandler::fatalError(const QXmlParseException &exception) { std::cerr << "Parse error at line " << exception.lineNumber() << ", " << "column " << exception.columnNumber() << ": " << qPrintable(exception.message()) << std::endl; return false; }
bool RssReader::fatalError(const QXmlParseException &e) { QString fmt("<br /><b>Parse error</b> (line:%1 column:%2): %3"); m_output.append( fmt.arg(e.lineNumber()).arg(e.columnNumber()).arg(e.message()) ); return QXmlDefaultHandler::fatalError(e); }
bool RepositoryXMLHandler::fatalError(const QXmlParseException &exception) { this->error = QObject::tr("XML parsing error at line %1, column %2: %3"). arg(exception.lineNumber()).arg(exception.columnNumber()). arg(exception.message()); return false; }
bool warning(const QXmlParseException & exception) { stream << "Warning: " << exception.message() << "\n"; stream << "Line: " << exception.lineNumber() << "\n"; stream << "Column: " << exception.columnNumber() << "\n"; return true; }
virtual bool error( const QXmlParseException & exception ) override { NGT_ERROR_MSG( "%d, %d: %s\n", exception.lineNumber(), exception.columnNumber(), exception.message().toUtf8().constData() ); return true; }
bool SessionFileParser::fatalError (const QXmlParseException & exception) { qWarning() << QObject::tr("Fatal error on line") << exception.lineNumber() << QObject::tr(", column") << exception.columnNumber() << ":" << exception.message(); return false; }
bool ProjectXML::fatalError(const QXmlParseException &e) { qDebug() << e.message() << QString("@%1:%2").arg(e.lineNumber()).arg(e.columnNumber()); // << e.publicId() // << e.systemId(); return true; }
bool NodesSax::error(const QXmlParseException &exception) { Utils::error(QObject::tr("Parse error (1) at line %1, column %2:\n%3") .arg(exception.lineNumber()) .arg(exception.columnNumber()) .arg(exception.message())); return false; }
bool Handler::fatalError (const QXmlParseException & exception) { qWarning() << QString("Fatal error on line %1, column %2: %3").arg( exception.lineNumber()).arg(exception.columnNumber()).arg( exception.message()); return false; }
bool ThemeManager::error(const QXmlParseException &exception) { #ifdef K_DEBUG QString msg = "ThemeManager::error() - Fatal Error: Can't process theme!"; #ifdef Q_OS_WIN qDebug() << msg; qDebug() << "ThemeManager::error() - Message: " << exception.message(); #else tError() << msg; tError() << "ThemeManager::error() - Message: " << exception.message(); #endif #else Q_UNUSED(exception); #endif return false; }
bool VocabParser::fatalError( const QXmlParseException& exception ) { QMessageBox::warning( 0, QObject::tr( "Error" ), QObject::tr( "ParseError" ) .arg( exception.lineNumber() ) .arg( exception.columnNumber() ) .arg( exception.message() ) ); return( false ); }
bool XSAppBuilder::fatalError(const QXmlParseException &exception) { qWarning() << "Fatal error on line" << exception.lineNumber() << ", column" << exception.columnNumber() << ":" << exception.message(); return false; }
bool ContentHandler::fatalError(const QXmlParseException & exception) { m_error_msg = QString("Fatal error %1:%2: %3") .arg(exception.columnNumber()) .arg(exception.lineNumber()) .arg(exception.message()); 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; }
bool UiReader::fatalError(const QXmlParseException &exception) { QString msg = LU::tr("XML error: Parse error at line %1, column %2 (%3).") .arg(exception.lineNumber()).arg(exception.columnNumber()) .arg(exception.message()); m_cd.appendError(msg); return false; }
bool TanoHandlerOld::fatalError(const QXmlParseException &exception) { qDebug() << QString("Parse error at line %1, column %2: %3") .arg(exception.lineNumber()) .arg(exception.columnNumber()) .arg(exception.message()); return false; }
bool PdmlHandler::fatalError(const QXmlParseException &exception) { QString extra; qDebug("%s", __FUNCTION__); if (exception.message() == "tag mismatch" && lastElement == "fieldData") extra = "\nAre you using an old version of Wireshark? If so, try using a newer version. Alternatively, view the packet dump decode in Wireshark by clicking the \"External\" button."; QMessageBox::warning(0, QObject::tr("PDML Parser"), QObject::tr("XML parse error for packet %1 " "at line %2, column %3:\n %4\n%5") .arg(packetCount+1) .arg(exception.lineNumber()) .arg(exception.columnNumber()) .arg(exception.message()) .arg(extra)); return false; }
bool UiHandler::fatalError( const QXmlParseException& exception ) { QString msg; msg.sprintf( "Parse error at line %d, column %d (%s).", exception.lineNumber(), exception.columnNumber(), exception.message().latin1() ); fprintf( stderr, "XML error: %s\n", msg.latin1() ); return FALSE; }
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 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 XLIFFHandler::fatalError(const QXmlParseException &exception) { QString msg; msg.sprintf("XML error: Parse error at line %d, column %d (%s).\n", exception.lineNumber(), exception.columnNumber(), exception.message().toLatin1().data() ); m_cd.appendError(msg); return false; }