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:
Derek DeMoro
2007-02-27 23:17:14 +00:00
committed by derek
parent 28330688e3
commit 9bb2d8c8a9

View File

@ -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");