Author: mcombellack
Date: Thu Dec  4 05:48:33 2008
New Revision: 723322

URL: http://svn.apache.org/viewvc?rev=723322&view=rev
Log:
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

Modified:
    
tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/PhaseManager.java

Modified: 
tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/PhaseManager.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/PhaseManager.java?rev=723322&r1=723321&r2=723322&view=diff
==============================================================================
--- 
tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/PhaseManager.java
 (original)
+++ 
tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/PhaseManager.java
 Thu Dec  4 05:48:33 2008
@@ -194,7 +194,7 @@
             }
             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();


Reply via email to