public CustomConfigurationBuilder(ClassLoader cl,String resource) throws ConfigurationException {
  this();
  InputStream is=cl.getResourceAsStream(resource);
  if (is == null)   throw new ConfigurationException("Unable to locate resource '" + resource + "'");
  try {
    try {
      load(is);
      loadedOnInstantiation=true;
    }
  finally {
      is.close();
    }
  }
 catch (  IOException e) {
    throw new ConfigurationException(e);
  }
}

public CustomConfigurationBuilder ( ClassLoader cl , String resource ) throws ConfigurationException { this ( ) ; InputStream is = cl . getResourceAsStream ( resource ) ; if ( is == null ) throw new ConfigurationException ( "Unable to locate resource '" + resource + "'" ) ; try { try { load ( is ) ; loadedOnInstantiation = true ; } finally { is . close ( ) ; } } catch ( IOException e ) { throw new ConfigurationException ( e ) ; } }
load ' s the configuration from the specified resource
