if ( type == ProxyManager.DISCOVER && ! proxyType.equals("discover") )
throw new ConfigurationException("Proxy type '" + proxyType + "' not supported");
try
{
setProxyManager( new ProxyManager( type ) );
}
catch (Exception e)
{
throw new ConfigurationException("Could not create ProxyManager", e);
}