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;