throw new IllegalArgumentException("Process is not valid for simulation - use validation to find errors");
}
}
} else if (fe instanceof BoundaryEvent) {
simPath.addBoundaryEventId(fe.getId());
} else if (fe instanceof CatchEvent) {
CatchEvent act = (CatchEvent) fe;
if(act.getIncoming() == null || act.getIncoming().size() == 0) {
String ref = processEventDefinitions(((CatchEvent) fe).getEventDefinitions());
simPath.setSignalName(ref);