static Object newInstance(String className,ClassLoader cl,boolean doFallback) throws ConfigurationError {
  try {
    Class providerClass=findProviderClass(className,cl,doFallback);
    Object instance=providerClass.newInstance();
    debugPrintln("created new instance of " + providerClass + " using ClassLoader: "+ cl);
    return instance;
  }
 catch (  ClassNotFoundException x) {
    throw new ConfigurationError("Provider " + className + " not found",x);
  }
catch (  Exception x) {
    throw new ConfigurationError("Provider " + className + " could not be instantiated: "+ x,x);
  }
}

static Object newInstance ( String className , ClassLoader cl , boolean doFallback ) throws ConfigurationError { try { Class providerClass = findProviderClass ( className , cl , doFallback ) ; Object instance = providerClass . newInstance ( ) ; debugPrintln ( "created new instance of " + providerClass + " using ClassLoader: " + cl ) ; return instance ; } catch ( ClassNotFoundException x ) { throw new ConfigurationError ( "Provider " + className + " not found" , x ) ; } catch ( Exception x ) { throw new ConfigurationError ( "Provider " + className + " could not be instantiated: " + x , x ) ; } }
create an instance of a class using the specified classloader
