mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Better error handling.
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@7318 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
@ -86,14 +86,14 @@ public class PluginClassLoader extends URLClassLoader {
|
||||
try {
|
||||
checkForSmackProviders(url);
|
||||
}
|
||||
catch (Exception e) {
|
||||
catch (Throwable e) {
|
||||
Log.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void checkForSmackProviders(URL jarURL) throws Exception {
|
||||
private void checkForSmackProviders(URL jarURL) throws Throwable {
|
||||
ZipFile zipFile = new JarFile(URLFileSystem.url2File(jarURL));
|
||||
|
||||
ZipEntry entry = zipFile.getEntry("META-INF/smack.providers");
|
||||
|
||||
Reference in New Issue
Block a user