@Override
 public final void putInstitution(final InstitutionId id, final Institution institution)
     throws IoException {
   try {
     store.putInstitution(institution, id, logger, Markers.PUT_INSTITUTION);
   } catch (final IOException e) {
     throw IoExceptions.wrap(e, "error putting institution");
   }
 }
  @Override
  public final void deleteInstitutionById(final InstitutionId id)
      throws IoException, NoSuchInstitutionException {
    // Delete collections first so they can resolve the institution to get
    // its collection store
    collectionCommandService.deleteCollectionsByInstitutionId(id);

    try {
      if (!store.deleteInstitutionById(id, logger, Markers.DELETE_INSTITUTION_BY_ID)) {
        throw new NoSuchInstitutionException();
      }
    } catch (final IOException e) {
      throw IoExceptions.wrap(e, "error deleting institution by id");
    }
  }