private void validate(Match match) {
        if (match == null) {
            throw new ValidationException("match is null");
        }
        if (match.getHomeTeam() == null || match.getAwayTeam() == null) {
            throw new ValidationException("match team is null");
        }
        if (match.getResult() == null) {
            throw new ValidationException("match result null");
        }
        if (match.getDatePlayed() == null) {
            throw new ValidationException("match date null");
        }
        if (match.getResult() == null) {
            throw new ValidationException("match result null");
        }
    }