virtual bool error( const QXmlParseException & exception ) override { NGT_ERROR_MSG( "%d, %d: %s\n", exception.lineNumber(), exception.columnNumber(), exception.message().toUtf8().constData() ); return true; }
//! [0] bool Handler::fatalError (const QXmlParseException & exception) { qWarning() << "Fatal error on line" << exception.lineNumber() << ", column" << exception.columnNumber() << ":" << exception.message(); return false; }
bool GcideXmlHandler::fatalError(const QXmlParseException &exception) { html += QObject::tr("Parse error at line %1, column %2:\n%3") .arg(exception.lineNumber()) .arg(exception.columnNumber()) .arg(exception.message()); return false; }
bool OsmReader::fatalError(const QXmlParseException &exception) { _errorString = QObject::tr("Parse error at line %1, column %2:\n%3") .arg(exception.lineNumber()) .arg(exception.columnNumber()) .arg(exception.message()); 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 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 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 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 ProjectXML::fatalError(const QXmlParseException &e) { qDebug() << e.message() << QString("@%1:%2").arg(e.lineNumber()).arg(e.columnNumber()); // << e.publicId() // << e.systemId(); return true; }
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 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; }
bool ChordXmlHandler::fatalError(const QXmlParseException& exception) { m_errorString = QString("%1 at line %2, column %3") .arg(exception.message()) .arg(exception.lineNumber()) .arg(exception.columnNumber()); return QXmlDefaultHandler::fatalError( exception ); }
bool ArtefactHandler::fatalError( const QXmlParseException& exception ) { _errorProt += QString( "fatal parsing error: %1 in line %2, column %3\n" ) .arg( exception.message() ) .arg( exception.lineNumber() ) .arg( exception.columnNumber() ); return QXmlDefaultHandler::fatalError( exception ); }
virtual bool fatalError( const QXmlParseException & exception ) override { NGT_ERROR_MSG( "%d, %d: %s\n", exception.lineNumber(), exception.columnNumber(), exception.message().toUtf8().constData() ); assert( false && "Fatal error" ); 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::warning(const QXmlParseException& e) { PROCESSORSLOGINIT; LERROR << "Error at file " << e.systemId() << ", line " << e.lineNumber() << ", char " << e.columnNumber() << " Message: " << e.message(); return true; }
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; }
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; }
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 XMLCpackList::fatalError(const QXmlParseException &exception) { QMessageBox::information(NULL, QObject::tr("Config Pack index table"), QObject::tr("Parse error at line %1, column %2:\n" "%3") .arg(exception.lineNumber()) .arg(exception.columnNumber()) .arg(exception.message())); return false; }
bool XbelHandler::fatalError(const QXmlParseException &exception) { QMessageBox::information(treeWidget->window(), QObject::tr("SAX Bookmarks"), QObject::tr("Parse error at line %1, column %2:\n" "%3") .arg(exception.lineNumber()) .arg(exception.columnNumber()) .arg(exception.message())); return false; }
bool XMLHandler::fatalError(const QXmlParseException &exception) { errorProt += i18n("fatal parsing error: %1 in line %2, column %3").arg(exception.message()).arg(exception.lineNumber()).arg(exception.columnNumber()); errorLine = exception.lineNumber(); errorCol = exception.columnNumber(); return false; }
/* non-fatal error: just report it */ bool VgLogHandler::error( const QXmlParseException& exception ) { // vkPrintErr("VgLogHandler::error"); QString err = exception.message() + " (line: " + QString::number( exception.lineNumber() ) + ", col: " + QString::number( exception.columnNumber() ) + ")"; // printf("VgLogHandler::non-fatal error: %s", err.latin1()); return true; /* try to continue. */ }
bool QphHandler::fatalError(const QXmlParseException &exception) { if (ferrorCount++ == 0) { QString msg = PhraseBook::tr("Parse error at line %1, column %2 (%3).") .arg(exception.lineNumber()).arg(exception.columnNumber()) .arg(exception.message()); QMessageBox::information(0, QObject::tr("Qt Linguist"), msg); } return false; }
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; }
/** Event for a fatal error, that occured during handling the XMl-file. */ bool fatalError(const QXmlParseException &exception) { QMessageBox::information(0x0, QObject::tr("Im2CharRectsXMLOutputHandler"), QObject::tr("Parse error at line %1, column %2:\n" "%3") .arg(exception.lineNumber()) .arg(exception.columnNumber()) .arg(exception.message())); return false; } // end of fatalError
bool OPFHandler::fatalError(const QXmlParseException &exception) { qDebug() << "Fatal error while parsing OPF at line" << exception.lineNumber() << ", column" << exception.columnNumber() << ":" << exception.message(); return false; }
bool error ( const QXmlParseException & exception ) { int line, col; line=exception.lineNumber(); col=exception.columnNumber(); QString _error="Line "+QString::number(line)+" Col "+QString::number(col)+": "+exception.message()+" "+svg_file_name; statusBar->showMessage(_error); return false; }