Commit 2877f930 authored by Langella Olivier's avatar Langella Olivier
Browse files

remove unneeded mcqError catch

parent 555c4e65
......@@ -52,12 +52,6 @@ lmatReader::set_from_xml(const Msrun &msrun,
return (false);
}
catch(mcqError &errorException)
{
throw mcqError(QObject::tr("error converting file '%1' to lmat :\n%2")
.arg(file)
.arg(errorException.what()));
}
mcqout() << QObject::tr(
"MS run '%1' : xml file '%2' : obiwarp parsing for lmat: OK")
......
......@@ -668,13 +668,6 @@ MassChroq::executeQuantification(const QString &quantify_id)
.arg(quantify_id)
.arg(error.qwhat()));
}
catch(mcqError &error)
{
throw mcqError(QObject::tr("error in MassChroQ::executeQuantification %1 "
"mcqError :\n%2")
.arg(quantify_id)
.arg(error.qwhat()));
}
catch(std::exception &std_error)
{
throw mcqError(
......
......@@ -533,12 +533,6 @@ MasschroqmlParser::startElement_data_file(const QXmlAttributes &attributes)
.arg(idname, pappso_error.qwhat());
return false;
}
catch(mcqError &error)
{
_errorStr =
QObject::tr("problem creating msrun %1:\n%2").arg(idname, error.what());
return false;
}
return (true);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment