コード例 #1
0
  public RangerTagResourceMap preDeleteTagResourceMap(Long id) throws Exception {
    RangerTagResourceMap existing = tagStore.getTagResourceMap(id);

    if (existing == null) {
      throw new Exception("Attempt to delete nonexistent tagResourceMap(id=" + id + ")");
    }

    return existing;
  }