@Override public synchronized Path getMaxThroughputRoute(Node src, Node dst) { if (mtp == null) { log.error("Max Throughput Path Calculation Uninitialized!"); return null; } List<Edge> path; try { path = mtp.getMaxThroughputPath(src, dst); } catch (IllegalArgumentException ie) { log.debug("A vertex is yet not known between {} {}", src, dst); return null; } Path res; try { res = new Path(path); } catch (ConstructionException e) { log.debug("A vertex is yet not known between {} {}", src, dst); return null; } return res; }