Skip to content
Snippets Groups Projects
Commit 17e9fa58 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

proper exception is thrown

parent 70280881
No related branches found
No related tags found
2 merge requests!759Merge 12.2.3,!756Resolve "export of pdmap submap to SBML crash"
Pipeline #9962 passed
......@@ -216,8 +216,9 @@ public class SbmlReactionParser extends SbmlBioEntityParser {
}
getMinervaModel().addReaction(reactionWithLayout);
} catch (InvalidArgumentException e) {
throw new InvalidInputDataExecption(e);
} catch (Exception e) {
throw new InvalidInputDataExecption(
new ElementUtils().getElementTag(source) + "Problem with parsing reaction layout", e);
}
}
Set<Reaction> elementsToRemove = new HashSet<>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment