list of dots

User Manual    [Previous]   [Next]   

W056 No Events in Queued State Machine

Umple semantic warning issued when a queued state machine does not have events to be queued

A queued state machine must have events to be queued, or this warning will be issued.

Example

//The warning will be generated
//as there are no events to be
//queued in the state machine sm
class A {
  queued 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 {
  queued sm {
    s0 {
      e -> s1;
    }
    s1 {
    }
  }
}
      

Load the above code into UmpleOnline