1
0

Fixed innaccurate catch. Should catch all throwables to ensure graceful failure.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@156998 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Burrell Donkin
2005-03-10 21:55:38 +00:00
parent 23df003ef1
commit 0721445959

View File

@@ -232,7 +232,7 @@ public abstract class LogFactory {
Class implementationClass = Class.forName(storeImplementationClass);
result = (Hashtable) implementationClass.newInstance();
} catch (Exception e) {
} catch (Throwable t) {
// ignore
if (!WEAK_HASHTABLE_CLASSNAME.equals(storeImplementationClass)) {
// if the user's trying to set up a custom implementation, give a clue