+ getConfiguration().getMaxConnections());
+ getConfiguration().getMaxPoolSize());
    private boolean addConnection(LinkedQueue queue)        throws SQLException, InterruptedException {        synchronized (this) {            if (LOG_DEBUG_INFO && getLogger() != null)                getLogger().debug(                    "Trying to create connection, total connections "                        + totalConnections                        + ", max allowed "                        + getConfiguration().getMaxConnections());                        boolean maximumCapacityReached =                 getConfiguration().getMaxConnections() <= totalConnections  &&                 getConfiguration().getMaxConnections() != 0 &&                getConfiguration().isPooling();            if (maximumCapacityReached) {                if (LOG_DEBUG_INFO && getLogger() != null)                    getLogger().debug("Was not able to add more connections.");                return false;            }            Object pooledConnection = connectionManager.allocateConnection(key);            if (LOG_DEBUG_INFO && getLogger() != null)                getLogger().debug(                    "Thread "                        + Thread.currentThread().getName()                        + " created connection.");            queue.put(pooledConnection);            size++;            totalConnections++;            return true;        }    }