Github user stain commented on a diff in the pull request:

    
https://github.com/apache/incubator-taverna-language/pull/41#discussion_r208318505
  
    --- 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 --
    
    Uh, I see what you mean.. it's not good to have logic by exception 
catching, is it..


---

Reply via email to