if (personName == null || personName.equals("")) { throw new DomainException("error.Result.person.not.found"); }
    private void checkParameters(Result result, Event event, ResultEventAssociationRole role, String personName) {        if (result == null) {            throw new DomainException("error.ResultEventAssociation.result.cannot.be.null");        }        if (event == null) {            throw new DomainException("error.ResultEventAssociation.event.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.hasAssociationWithEventRole(event, role)) {            throw new DomainException("error.ResultAssociations.association.exists");        }    }