E059 Queued and Pooled State Machines in Class
[Previous]  [Next] 
|
User Manual [Previous]  [Next] E059 Queued and Pooled State Machines in ClassUmple semantic error reported when a class contains one or more queued state machine and pooled state machine
An Umple class cannot contain both a queued state machine and a pooled state machine. Example//The error will be generated as //class A contains both a queued //and a pooled state machine class A { pooled sm1 { s0 { e -> s1; } s1 { } } queued sm2 { s0 { e -> s1; } s1 { } } } Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears//The error can be fixed by having each //state machine in a different class class A { pooled sm1 { s0 { e -> s1; } s1 { } } } class B { queued sm2 { s0 { e -> s1; } s1 { } } } Load the above code into UmpleOnline |