You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by qu...@apache.org on 2003/05/20 21:51:18 UTC
cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/services/assemblerbroker/util/java JavaBaseFactory.java
quintonm 2003/05/20 12:51:18
Modified: src/java/org/apache/turbine/services/assemblerbroker/util/java
JavaBaseFactory.java
Log:
Error messages logged by the factory will now indicate the class that could
not be loaded.
Revision Changes Path
1.7 +4 -4 jakarta-turbine-2/src/java/org/apache/turbine/services/assemblerbroker/util/java/JavaBaseFactory.java
Index: JavaBaseFactory.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/services/assemblerbroker/util/java/JavaBaseFactory.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- JavaBaseFactory.java 31 Mar 2003 22:35:08 -0000 1.6
+++ JavaBaseFactory.java 20 May 2003 19:51:18 -0000 1.7
@@ -141,7 +141,7 @@
// This means trouble!
// Alternatively we can throw this exception so
// that it will appear on the client browser
- log.error(cce);
+ log.error("Could not load "+className, cce);
break; // for()
}
catch (InstantiationException ine)
@@ -149,7 +149,7 @@
// This means trouble!
// Alternatively we can throw this exception so
// that it will appear on the client browser
- log.error(ine);
+ log.error("Could not load "+className, ine);
break; // for()
}
catch (IllegalAccessException ilae)
@@ -157,7 +157,7 @@
// This means trouble!
// Alternatively we can throw this exception so
// that it will appear on the client browser
- log.error(ilae);
+ log.error("Could not load "+className, ilae);
break; // for()
}
// With ClassCastException, InstantiationException we hit big problems
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org