private IssueFilterDto getIssueFilterByName(String name) { IssueFilterDto filter = issueFilterDao.selectProvidedFilterByName(name); Preconditions.checkState( filter != null, String.format("Could not find a provided issue filter with name '%s'", name)); return filter; }