30 #include "../../pappsoexception.h"
35 const QString &destinationMzXmlFile,
36 const QString &destinationTandemInputFile,
37 const QString &destinationTandemOutputFile)
38 : m_destinationTandemInputFile(destinationTandemInputFile)
43 QFileInfo(destinationTandemInputFile).absoluteFilePath();
48 QObject::tr(
"ERROR: unable to open %1 tandem output file for write")
49 .arg(destinationTandemInputFile));
67 const QXmlAttributes &attributes)
70 for(
int i = 0; i < attributes.length(); i++)
79 [[maybe_unused]]
const QString &namespaceURI,
80 [[maybe_unused]]
const QString &localName,
82 const QXmlAttributes &attributes)
113 "ERROR in XtandemInputSaxHandler::startElement "
114 "root tag %1 is not <bioml>")
139 "ERROR in XtandemInputSaxHandler::startElement "
140 "tag %1, PAPPSO exception:\n%2")
142 .arg(exception_pappso.
qwhat());
145 catch(std::exception &exception_std)
148 "ERROR in XtandemInputSaxHandler::startElement "
149 "tag %1, std exception:\n%2")
151 .arg(exception_std.what());
159 [[maybe_unused]]
const QString &localName,
160 const QString &qName)
181 "ERROR in XtandemInputSaxHandler::endElement tag "
182 "%1, PAPPSO exception:\n%2")
184 .arg(exception_pappso.
qwhat());
187 catch(std::exception &exception_std)
190 "ERROR in XtandemInputSaxHandler::endElement tag "
191 "%1, std exception:\n%2")
193 .arg(exception_std.what());
235 "Parse error at line %1, column %2 :\n"
237 .arg(exception.lineNumber())
238 .arg(exception.columnNumber())
239 .arg(exception.message());
249 "Parse error at line %1, column %2 :\n"
251 .arg(exception.lineNumber())
252 .arg(exception.columnNumber())
253 .arg(exception.message());
275 if(attributes.value(
"type") ==
"input")