|
E075 UserDefinedStateMachineCannotBeNamedTimer
[Previous]  [Next] 
|
![]() |
User Manual [Previous]  [Next] E075 UserDefinedStateMachineCannotBeNamedTimerUmple error reported when a user-defined state machine is named 'timer'In Umple, 'timer' cannot be used as a state machine name. This is because generated code for 'after' statements creates timers and there would be a naming conflict in the generated code. To fix the problem, give the state machine a slightly different name, Example
class X {
timer {
s1 {
after(1) -> s2;
}
s2 {
}
}
}
Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears
class X {
sm_timer {
s1 {
after(1) -> s2;
}
s2 {
}
}
}
Load the above code into UmpleOnline |