commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r377231 - /jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java
Date Sun, 12 Feb 2006 20:15:19 GMT
Author: rdonkin
Date: Sun Feb 12 12:15:17 2006
New Revision: 377231

URL: http://svn.apache.org/viewcvs?rev=377231&view=rev
Log:
Improved diagnostic message.

Modified:
    jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java

Modified: jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java?rev=377231&r1=377230&r2=377231&view=diff
==============================================================================
--- jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java
(original)
+++ jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java
Sun Feb 12 12:15:17 2006
@@ -722,8 +722,8 @@
         } catch(SecurityException ex) {
             if (isDiagnosticsEnabled()) {
                 logDiagnostic(
-                        "Unable to get classloader for class " + clazz
-                        + " due to security restrictions.");
+                        "Unable to get classloader for class '" + clazz
+                        + "' due to security restrictions - " + ex.getMessage());
             }
             throw ex;
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message