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 &localName,
81 const QXmlAttributes &attributes)
112 "ERROR in XtandemInputSaxHandler::startElement "
113 "root tag %1 is not <bioml>")
138 "ERROR in XtandemInputSaxHandler::startElement "
139 "tag %1, PAPPSO exception:\n%2")
141 .arg(exception_pappso.
qwhat());
144 catch(std::exception &exception_std)
147 "ERROR in XtandemInputSaxHandler::startElement "
148 "tag %1, std exception:\n%2")
150 .arg(exception_std.what());
158 [[maybe_unused]]
const QString &localName,
159 const QString &qName)
180 "ERROR in XtandemInputSaxHandler::endElement tag "
181 "%1, PAPPSO exception:\n%2")
183 .arg(exception_pappso.
qwhat());
186 catch(std::exception &exception_std)
189 "ERROR in XtandemInputSaxHandler::endElement tag "
190 "%1, std exception:\n%2")
192 .arg(exception_std.what());
234 "Parse error at line %1, column %2 :\n"
236 .arg(exception.lineNumber())
237 .arg(exception.columnNumber())
238 .arg(exception.message());
248 "Parse error at line %1, column %2 :\n"
250 .arg(exception.lineNumber())
251 .arg(exception.columnNumber())
252 .arg(exception.message());
274 if(attributes.value(
"type") ==
"input")