uOttawaUniversity of Ottawa - Canadas University
list of dots

Umple User Manual    [Previous]   [Next]   

Loading

E073 Duplicate Parallel State Machine Name

Umple semantic error reported when parallel state machines in the same composite state have the same name.

In Umple, parallel state machines within the same composite state must have different names.

Example

// The following example generates the error
// "s1" has two parallel state machines that are named "t1"

class X {
  sm{
    s1{
      t1{
        goT2-> t2;
      }
      t2{ }
      ||
      t1{
        goT4-> t4;
      }
      t4{}
    }
  }
}

      

Load the above code into UmpleOnline

 

Another Example

// The following example shows how to avoid the error

class X {
  sm{
    s1{
      t1{
        goT2-> t2;
      }
      t2{ }
      ||
      t3{
        goT4-> t4;
      }
      t4{}
    }
  }
}

      

Load the above code into UmpleOnline