private Location findLocation(UnLocode unlocode) { var location = locationRepository.find(unlocode); if(location == null) { throw new UnknownLocationException(unlocode); } return location; } }