mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 08:55:44 +01:00
throw more specific PluginLoadException instead of generic RuntimeException
This commit is contained in:
@@ -271,7 +271,7 @@ public final class ExtensionCollector
|
||||
try {
|
||||
return classLoader.loadClass(extension.getClazz());
|
||||
} catch (ClassNotFoundException ex) {
|
||||
throw new RuntimeException("failed to load clazz", ex);
|
||||
throw new PluginLoadException("failed to load clazz", ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user