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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user