list of dots

User Manual    [Previous]   [Next]   

E3504 Template Reference Cannot Be Resolved

Umple semantic error raised when a template reference cannot be resolved

When referencing a template, an error is thrown if the template cannot be found. The template name might be misspelled.

Example

//The template otherTemplate
//is not found, generating the
//error
class A {
  temp <<! <<@otherTemplate>> !>>
  emit method()(temp);
}
      

Load the above code into UmpleOnline

 

Solution to The Above So the Message No Longer Appears

//otherTemplate exists and can
//be referenced
class A {
  otherTemplate <<! output !>>
  temp <<! <<@otherTemplate>> !>>
  emit method()(temp);
}
      

Load the above code into UmpleOnline