code: public void addPool(String alias, int minSize, int maxSize) {
      if (alias == null) {
        throw new NullPointerException("Pool alias cannot be null");
      }
      if (poolConfigurations.containsKey(alias)) {
        throw new IllegalArgumentException("A pool with the alias '" + alias + "' is already configured");
      } else {
        poolConfigurations.put(alias, new PoolConfiguration(minSize, maxSize));
      }
    }
docs: Adds a new pool with the provided minimum and maximum.
  
  @param alias the pool alias
  @param minSize the minimum size
  @param maxSize the maximum size
  
  @throws NullPointerException if alias is null
  @throws IllegalArgumentException if another pool with the same alias was configured already