public RangerTagResourceMap preDeleteTagResourceMapByGuid(String guid) throws Exception { RangerTagResourceMap existing = tagStore.getTagResourceMapByGuid(guid); if (existing == null) { throw new Exception("Attempt to delete nonexistent tagResourceMap(guid=" + guid + ")"); } return existing; }