psmith 2004/12/14 13:06:08
Modified: src/java/org/apache/log4j/chainsaw/plugins
PluginClassLoaderFactory.java
Log:
Fix JDK 1.3 compatability.
Revision Changes Path
1.5 +2 -2
logging-log4j/src/java/org/apache/log4j/chainsaw/plugins/PluginClassLoaderFactory.java
Index: PluginClassLoaderFactory.java
===================================================================
RCS file:
/home/cvs/logging-log4j/src/java/org/apache/log4j/chainsaw/plugins/PluginClassLoaderFactory.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- PluginClassLoaderFactory.java 21 Nov 2004 07:01:26 -0000 1.4
+++ PluginClassLoaderFactory.java 14 Dec 2004 21:06:08 -0000 1.5
@@ -74,7 +74,7 @@
try {
list.add(pluginDirectory.toURL());
} catch (Exception e) {
- throw new RuntimeException(e);
+ throw new RuntimeException(e.getMessage());
}
if (strings !=null) {
for (int i = 0; i < strings.length; i++) {
@@ -87,7 +87,7 @@
} catch (Exception e) {
logger.error("Failed to retrieve the
URL for file: "
+
file.getAbsolutePath());
- throw new RuntimeException(e);
+ throw new
RuntimeException(e.getMessage());
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]