list of dots Digital Research Alliance of Canada logo  NSERC logo  University of Ottawa logo / UniversitĂ© d'Ottawa

User Manual    [Previous]   [Next]   

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

 

Solution to The Above So the Message No Longer Appears

// 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