taverna-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haouech <...@git.apache.org>
Subject [GitHub] incubator-taverna-language pull request #41: Add helper method to create nes...
Date Tue, 07 Aug 2018 21:32:21 GMT
Github user haouech commented on a diff in the pull request:

    https://github.com/apache/incubator-taverna-language/pull/41#discussion_r208392499
  
    --- Diff: taverna-scufl2-api/src/main/java/org/apache/taverna/scufl2/api/common/Scufl2Tools.java
---
    @@ -764,6 +764,12 @@ public Configuration createNestedRelationship(Processor processor,
Workflow chil
     		if(nestedWorkflowForProcessor(processor, profile) != null) {
     			throw new IllegalStateException("Processor " + processor + " already has a nested
workflow");
     		}
    +		try {
    --- End diff --
    
    I found a better way to test if a processor already has a bound activity. You were right
about the exception catching logic. Thanks


---

Mime
View raw message