Commit 17e9fa58 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

proper exception is thrown

parent 70280881
Pipeline #9962 passed with stage
in 10 minutes and 27 seconds
......@@ -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<>();
......
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