list of dots

User Manual    [Previous]   [Next]   

E3502 Template Name Cannot Be Resolved

Umple semantic error raised when a template name cannot be found

A template used in an emit method must exist within the context of the emit directive.

Example

//The template name cannot be
//found as it does not exist
class A {
  emit method()(template);
}
      

Load the above code into UmpleOnline

 

Solution to The Above So the Message No Longer Appears

//The error is resolved by
//declaring the template
class A {
  template <<!output!>>
  emit method()(template);
}
      

Load the above code into UmpleOnline