E081 Invalid Multivalued Attribute Assignment
[Previous]  [Next] 
|
User Manual [Previous]  [Next] E081 Invalid Multivalued Attribute AssignmentUmple semantic error raised when initializing multivalued attributes with invalid valuesWhen indicating initial values for a multivalued attribute, an error is raised if the values to
assign cannot be parsed properly. Example//The attribute attr cannot be initialized //as the values are not correct class A { String[] attr = {invalid.values}; } Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears//attr can now be initialized class A { String[] attr = {"valid", "values"}; } Load the above code into UmpleOnline |