public RangerTagDef preCreateTagDef(final RangerTagDef tagDef, boolean updateIfExists) throws Exception { String name = tagDef.getName(); if (StringUtils.isBlank(name)) { throw new Exception("TagDef has no name"); } RangerTagDef existing = tagStore.getTagDefByName(name); return existing; }