1
0

Improved diagnostic message.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@377231 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Burrell Donkin
2006-02-12 20:15:17 +00:00
parent c68be0fed3
commit 42488ff8df

View File

@@ -722,8 +722,8 @@ public abstract class LogFactory {
} catch(SecurityException ex) { } catch(SecurityException ex) {
if (isDiagnosticsEnabled()) { if (isDiagnosticsEnabled()) {
logDiagnostic( logDiagnostic(
"Unable to get classloader for class " + clazz "Unable to get classloader for class '" + clazz
+ " due to security restrictions."); + "' due to security restrictions - " + ex.getMessage());
} }
throw ex; throw ex;
} }