public function __construct($template, $tagName)
 {
     $this->tagName = $tagName;
     parent::__construct($template, sprintf('The tag with the name "%s" is required, but was not found in the template "%s"', $this->tagName, $template));
 }
 /**
  * @param string $template     The template causing the problem
  * @param string $propertyName The name of the property, which has been used
  */
 public function __construct($template, $propertyName)
 {
     $this->propertyName = $propertyName;
     parent::__construct($template, sprintf('The property with the name "%s" was used by the template "%s", although it is a reserved property name', $this->propertyName, $template));
 }