code: @Override
  	public void connectFailed(final URI uri, final SocketAddress sa, final IOException ioe)
  	{
  		if (uri == null || sa == null || ioe == null)
  		{
  			throw new IllegalArgumentException("Arguments can not be null.");
  		}
  		final ProxyDecorator p = proxies.get(sa);
  		if (p != null)
  		{
  			if (p.failed() >= 3)
  			{
  				proxies.remove(sa);
  			}
  		}
  		else
  		{
  			if (defaultSelector != null)
  			{
  				defaultSelector.connectFailed(uri, sa, ioe);
  			}
  		}
  	}
docs: {@inheritDoc}