|
W1010 Constraint Syntax Could Not Be Processed
[Previous]  [Next] 
|
![]() |
User Manual [Previous]  [Next] W1010 Constraint Syntax Could Not Be ProcessedUmple semantic warning issued when the syntax of a constraint cannot be processedWhen a constraint-like syntax is found but it cannot be processed by Umple, it is treated
as extra code and left as-is. The constraint might not be constructed properly. Example
//The warning is raised twice in
//the following as both constraints
//are not properly constructed
class A {
Integer a;
Integer b;
Integer c;
[(a > b)) && a < c]
[c < a | b > a]
}
Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears
//The warning is not generated
//by fixing the constraint syntax
class A {
Integer a;
Integer b;
Integer c;
[(a > b) && a < c]
[c < a || b > a]
}
Load the above code into UmpleOnline |