list of dots University of Ottawa logo / Université d'Ottawa

User Manual    [Previous]   [Next]   

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.


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


Load the above code into UmpleOnline