blob: d65357d24ddb61a635f678ee988372ed50ae6d6f [file] [log] [blame]
package org.eclipse.core.internal.boot;
/*
* Licensed Materials - Property of IBM,
* WebSphere Studio Workbench
* (c) Copyright IBM Corp 2000
*/
import java.net.*;
public class ResourceLoader extends URLClassLoader {
public ResourceLoader(URL[] resourcePath) {
super(resourcePath, null);
}
/**
* Looks for a given class. Resource loaders can never find classes and
* so always throw <code>ClassNotFoundException</code>.
*/
protected Class findClass(final String name) throws ClassNotFoundException {
throw new ClassNotFoundException(name);
}
/**
* Looks for a given class. Resource loaders can never find classes and
* so always throw <code>ClassNotFoundException</code>.
*/
protected Class loadClass(String name, boolean resolve) throws ClassNotFoundException {
throw new ClassNotFoundException();
}
}