private void checkParameters(Result result, Unit unit, ResultUnitAssociationRole role, String personName) {
private void checkParameters(Result result, Unit unit, ResultUnitAssociationRole role) {
    private void checkParameters(Result result, Unit unit, ResultUnitAssociationRole role, String personName) {        if (result == null) {            throw new DomainException("error.ResultUnitAssociation.result.cannot.be.null");        }        if (unit == null) {            throw new DomainException("error.ResultEventAssociation.unit.cannot.be.null");        }        if (role == null) {            throw new DomainException("error.ResultAssociations.role.cannot.be.null");        }        if (personName == null || personName.equals("")) {            throw new DomainException("error.Result.person.not.found");        }                if(result.hasAssociationWithUnitRole(unit,role)){            throw new DomainException("error.ResultAssociations.association.exists");        }    }