104105106107108109110111112
} public Task getByPath(String path) throws UnknownTaskException { Task task = findByPath(path); if (task == null) { throw new UnknownTaskException(String.format("Task with path '%s' not found in %s.", path, project)); } return task; }