};
}
protected Class<?> loadClass(String type) throws ClassNotFoundException {
HK2Loader loader = myself.getLoader();
if (loader == null) {
return getClass().getClassLoader().loadClass(type);
}
try {
return loader.loadClass(type);
}
catch (MultiException me) {
for (Throwable th : me.getErrors()) {
if (th instanceof ClassNotFoundException) {
throw (ClassNotFoundException) th;