summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
authormcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68>2008-12-04 13:48:33 +0000
committermcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68>2008-12-04 13:48:33 +0000
commit7763d1d39ad5c5a6e31dccf63247ce29c1221d1b (patch)
treeafd3b1c3dd46239c9f2967a5ee05f62d0fd76c02 /java/sca
parent60f98db4075bde48bda5f2196e4dfc78f46c445d (diff)
Wrong parameter being output as part of the Exception message - should use stageName rather than stage as stage will always be null in this case
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@723322 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca')
-rw-r--r--java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/PhaseManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/PhaseManager.java b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/PhaseManager.java
index 58c52833c1..e24d7e3f35 100644
--- a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/PhaseManager.java
+++ b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/PhaseManager.java
@@ -194,7 +194,7 @@ public class PhaseManager {
}
Stage stage = stages.get(stageName);
if (stage == null) {
- throw new ServiceRuntimeException("Invalid stage: " + stage);
+ throw new ServiceRuntimeException("Invalid stage: " + stageName);
}
PhaseSorter<String> graph = stage.getSorter();
Set<String> firstSet = stage.getFirstSet(), lastSet = stage.getLastSet();