if (person == null) { throw new DomainException("error.Result.person.not.found"); }
    private void checkParameters(Result result, Person person) {        if (result == null) { throw new DomainException("error.Result.not.found"); }        if (person == null) { throw new DomainException("error.Result.person.not.found"); }    }