You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by br...@apache.org on 2003/08/12 18:33:08 UTC
cvs commit: cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/util SimpleServiceSelector.java
bruno 2003/08/12 09:33:08
Modified: src/blocks/woody/java/org/apache/cocoon/woody/util
SimpleServiceSelector.java
Log:
Fix error in exception message
Revision Changes Path
1.3 +1 -1 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/util/SimpleServiceSelector.java
Index: SimpleServiceSelector.java
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/util/SimpleServiceSelector.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- SimpleServiceSelector.java 16 Jul 2003 14:00:20 -0000 1.2
+++ SimpleServiceSelector.java 12 Aug 2003 16:33:08 -0000 1.3
@@ -107,7 +107,7 @@
LifecycleHelper lifecycleHelper = new LifecycleHelper(getLogger(), null, serviceManager, null, null, componentConfs[i]);
lifecycleHelper.setupComponent(component);
} catch (Exception e) {
- throw new ConfigurationException("Error creating " + hintShortHand + " declared at " + componentConfs[i], e);
+ throw new ConfigurationException("Error creating " + hintShortHand + " declared at " + componentConfs[i].getLocation(), e);
}
components.put(name, component);