W057 No Events in Pooled State Machine
[Previous]  [Next] 
|
User Manual [Previous]  [Next] W057 No Events in Pooled State MachineUmple semantic warning issued when a pooled state machine does not have events to be pooledA pooled state machine must have events to be pooled, or this warning will be issued. Example//The warning will be generated //as there are no events to be //pooled in the state machine sm class A { pooled sm { s0 { } s1 { } } } Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears//The following avoids the warning //by adding an event to the state machine class A { pooled sm { s0 { e -> s1; } s1 { } } } Load the above code into UmpleOnline |