webwork/src/main/webwork/action/factory ActionFactory.java,1.19,1.20

[email protected] Thu, 13 Nov 2003 13:43:39 -0800
Newsgroups gmane.comp.java.open-symphony.cvs
Message-ID <[email protected]>
Update of /cvsroot/opensymphony/webwork/src/main/webwork/action/factory
In directory sc8-pr-cvs1:/tmp/cvs-serv25005/src/main/webwork/action/factory

Modified Files:
	ActionFactory.java 
Log Message:
Show classname of action factory if we have a problem creating it

Index: ActionFactory.java
===================================================================
RCS file: /cvsroot/opensymphony/webwork/src/main/webwork/action/factory/ActionFactory.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- ActionFactory.java	8 Nov 2003 16:27:11 -0000	1.19
+++ ActionFactory.java	13 Nov 2003 21:43:37 -0000	1.20
@@ -39,7 +39,7 @@
             defaultActionFactory = (ActionFactory)ClassLoaderUtils.loadClass(className, ActionFactory.class).newInstance();
          } catch (Exception e)
          {
-             LogFactory.getLog(ActionFactory.class).error("Could not instantiate action factory:", e);
+             LogFactory.getLog(ActionFactory.class).error("Could not instantiate action factory " + className, e);
              defaultActionFactory = new DefaultActionFactory();
          }
       } catch (IllegalArgumentException ex)




-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/