uOttawaUniversity of Ottawa - Canadas University
list of dots

Umple User Manual    [Previous]   [Next]   

Loading

E112 Duplicate Constants in Interface

Umple semantic error reported when an interface is given two or more constants with the same name.

Constants in an attribute must have distinct names. The solution to this error is to rename or delete one of the constants.

Example

// The following example shows how to generate this error.
interface X {
  const A="dog";
  const A="cat";
}

      

Load the above code into UmpleOnline