|
E064 Non Existent History State
[Previous]  [Next] 
|
![]() |
User Manual [Previous]  [Next] E064 Non Existent History StateUmple semantic error reported when a history state is declared in a non existent state
A transition to the history of a state must be declared on an existing state for Umple to be able to complete the
transition to its stored history state. Example
//The following generates the error,
//OtherState not existing within sm
class A {
sm {
s1 {
e -> OtherState.H;
}
}
}
Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears
//The error can be resolved by
//declaring OtherState in sm
class A {
sm {
s1 {
e -> OtherState.H;
}
OtherState {
OtherStateA {
}
/* ... other substates */
}
}
}
Load the above code into UmpleOnline |