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

error message is more verbose when gate data is invalid

parent 1143e49e
No related branches found
No related tags found
2 merge requests!630WIP: Resolve "The privileges of a new user are not saved in some cases",!494Conversion rest api scaling
......@@ -564,6 +564,9 @@ public class ReactionFromXml extends XmlParser {
num2 = points.size() - 1;
result.getPoints().addAll(points);
}
if (num0 == null || num1 == null) {
throw new InvalidXmlSchemaException("No information about line separation");
}
result.setNum0(num0);
result.setNum1(num1);
result.setNum2(num2);
......
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