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

User Manual    [Previous]   [Next]   

E063 Reserved Name History State

Umple semantic error reported when a state uses a name reserved for history or deep history states

Certain state names in Umple are reserved for the implementation of history and deep history states.
An error is raised when using a reserved name such as H or HStar as a state name.

Example

//The error occurs as state machine
//sm uses the reserved name H as a
//state name
class A {
  sm {
    H {
    }
  }
}
      

Load the above code into UmpleOnline

 

Solution to The Above So the Message No Longer Appears

//The error can be avoided by
//using a non reserved state 
//name
class A {
  sm {
    s1 {
    }
  }
}
      

Load the above code into UmpleOnline