E074 User Defined State Cannot be Named Final
[Previous]  [Next] 
|
User Manual [Previous]  [Next] E074 User Defined State Cannot be Named FinalUmple semantic error reported when a user-defined state is named 'Final' keywordIn Umple, 'Final' is a reserved keyword. It is used to define the final state for the top-level state machine. Example// The following example generates the error // "s1" has a state named "Final" class X { sm { s1 { Final {} } } } Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears// The following example does not generate the error class X { sm { s1 { goToFinal-> Final; } } } Load the above code into UmpleOnline |