Ignore:
Timestamp:
07/17/15 11:55:06 (9 years ago)
Author:
sherbold
Message:
  • better error handling in case single interaction cannot be generated
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-plugin-uml/src/main/java/de/ugoe/cs/autoquest/plugin/uml/UMLUtils.java

    r2011 r2015  
    433433        int i=0; 
    434434        for( List<Event> sequence : sequences ) { 
    435             interactions.add(interactionCreator.createInteraction(sequence, interactionName+"_"+i)); 
    436             i++; 
     435            try { 
     436                interactions.add(interactionCreator.createInteraction(sequence, interactionName+"_"+i)); 
     437                i++; 
     438            } catch(Exception e) { 
     439                Console.traceln(Level.SEVERE, "failure for " + interactionName+"_"+i + ": " + e.getMessage()); 
     440            } 
    437441        } 
    438442        return interactions; 
Note: See TracChangeset for help on using the changeset viewer.