ElementGraph parent = entry.getKey(); // null for root case
List<? extends ElementGraph> children = entry.getValue();
for( ElementGraph child : children )
{
Asserted asserted = rule.assertion( plannerContext, child );
writeTrace( ruleResult, phase, (Rule) rule, parent, child, asserted );
FlowElement primary = asserted.getFirstAnchor();
if( primary == null )
continue;
throw new PlannerException( asserted.getFirstAnchor(), asserted.getMessage() );
}
}
}