if (intermediateVertices.get(i) == null) {
notFound.add("intermediate." + i);
}
}
if (notFound.size() > 0) {
throw new VertexNotFoundException(notFound);
}
if (opt.modes.isTransit() && !graph.transitFeedCovers(opt.dateTime)) {
// user wants a path through the transit network,
// but the date provided is outside those covered by the transit feed.
throw new TransitTimesException();