505152535455565758
Group dbGroup = findGroupObject(); if(dbGroup == null) { throw new InvalidRequestException(Status.NOT_FOUND, "Group with id " + resourceId + " does not exist"); } GroupDto group = GroupDto.fromGroup(dbGroup); return group; }