try {
final List<SimplePath> paths = pathFindService.scan(kam,
sources, maxSearchDepth);
final ScanResponse scanResponse = new ScanResponse();
scanResponse.getPaths().addAll(paths);
return scanResponse;
} catch (PathFindServiceException e) {
final String msg = "error in pathfind scan";
throw new RequestException(msg, e);