mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-11 15:57:42 +00:00
catch NoClassDefFoundError in ClassDiscoverer
This commit is contained in:
1 parent
ce95f90b0d
commit
95a622e69d
1 file changed
+2
-2
@@ -78,9 +78,9 @@ public class ClassDiscoverer
|
||||
try {
|
||||
Class<?> class1 = Class.forName(classname, true, modClassLoader);
|
||||
classes.add(class1);
|
||||
} catch (Exception cnfe) {
|
||||
} catch (Throwable t) {
|
||||
System.err.println("Unable to load class: " + classname);
|
||||
cnfe.printStackTrace();
|
||||
t.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user