You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by gr...@apache.org on 2001/01/18 23:38:18 UTC
cvs commit: xml-cocoon/src/org/apache/cocoon/framework Manager.java
greenrd 01/01/18 14:38:18
Modified: src/org/apache/cocoon/framework Manager.java
Log:
better error reporting
Revision Changes Path
1.11 +3 -3 xml-cocoon/src/org/apache/cocoon/framework/Manager.java
Index: Manager.java
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/framework/Manager.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Manager.java 2000/12/03 19:54:48 1.10
+++ Manager.java 2001/01/18 22:38:17 1.11
@@ -1,4 +1,4 @@
-/*-- $Id: Manager.java,v 1.10 2000/12/03 19:54:48 greenrd Exp $ --
+/*-- $Id: Manager.java,v 1.11 2001/01/18 22:38:17 greenrd Exp $ --
============================================================================
The Apache Software License, Version 1.1
@@ -57,7 +57,7 @@
* This class is used to create and control software actors and resources.
*
* @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
- * @version $Revision: 1.10 $ $Date: 2000/12/03 19:54:48 $
+ * @version $Revision: 1.11 $ $Date: 2001/01/18 22:38:17 $
*/
public class Manager
@@ -121,7 +121,7 @@
} catch (NoClassDefFoundError e) {
throw new RuntimeException("Error creating " + name + ": make sure the needed classes can be found in the classpath (" + e.getMessage() + ")");
} catch (Throwable e) {
- throw new RuntimeException("Factory error: unknown exception creating \" " + name + "\" : " + e);
+ throw new RuntimeException("Exception when creating \" " + name + "\" : \n" + e);
}
}