From b35e8d3b53afadf34ce6bcbb64f933811d050701 Mon Sep 17 00:00:00 2001 From: Simon Kitching Date: Tue, 14 Jun 2005 10:23:08 +0000 Subject: [PATCH] Avoid wrapping exception - patch by Brian Stansberry git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@190569 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/logging/impl/LogFactoryImpl.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java b/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java index e1dc3b7..fa68571 100644 --- a/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java +++ b/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java @@ -878,6 +878,10 @@ public class LogFactoryImpl extends LogFactory { + ": " + msg.trim()); break; + } catch(LogConfigurationException e) { + // call to handleFlawedHierarchy above must have thrown + // a LogConfigurationException, so just throw it on + throw e; } catch(Throwable t) { // handleFlawedDiscovery will determine whether this is a fatal // problem or not. If it is fatal, then a LogConfigurationException