public void setExceptionOnSnapshot(RuntimeException e) {
    exceptionOnSnapshot = e;
  }
@param e the {@link RuntimeException} to throw when {@link #getSnapshot()} is invoked.
ambry-test-utils/src/main/java/com/github/ambry/clustermap/MockClusterMap.java