private Supplier<MySqlAccountStore> callSupplierWithException(ThrowingSupplier<MySqlAccountStore, SQLException> ts) {
    return () -> {
      try {
        return ts.get();
      } catch (SQLException e) {
        logger.error("MySQL account store creation failed: {}", e.getMessage());
        throw new RuntimeException("MySQL account store creation failed: {}", e);
      }
    };
  }
call supplier to get the {@link MySqlAccountStore}
ambry-account/src/main/java/com/github/ambry/account/MySqlAccountService.java