try {
final List<SimplePath> paths = pathFindService.findPaths(kam,
sources, targets, maxSearchDepth);
final FindPathsResponse findPathsResponse = new FindPathsResponse();
findPathsResponse.getPaths().addAll(paths);
return findPathsResponse;
} catch (PathFindServiceException e) {
throw new RequestException(e.getMessage());
}