W068 Destination State Not Found
[Previous]  [Next] 
|
User Manual [Previous]  [Next] W068 Destination State Not FoundUmple semantic warning issued when the destination state of a transition cannot be found
When using dot notation to define the destination state of a transition in a nested state machine (e.g. sm1.s2), then the destination state must exist, otherwise the transition
will be ignored. The warning is most likely caused by a typographical error. (Note that when not using dot notation, behaviour is a bit different, and a new end state will be created by default with warning 50).
Example//The warning is generated due //to the transition destination //of e -> s3.s2a not being defined in sm class A { sm { s1 { e -> s3.s2a; } s2 { s2a { } } } } Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears//The following example does //not generate the warning //as s2.s2a is found in sm class A { sm { s1 { e -> s2.s2a; } s2 { s2a { } } } } Load the above code into UmpleOnline |