/**
  * @param string $template
  *
  * @return TemplateLoaderException
  */
 public function __construct($template)
 {
     $this->template = $template;
     $message = Craft::t('Unable to find the template “{template}”.', array('template' => $this->template));
     Craft::log($message, LogLevel::Error);
     parent::__construct($message);
 }
 /**
  * @param string $licenseKey
  *
  * @return InvalidLicenseKeyException
  */
 public function __construct($licenseKey)
 {
     $this->licenseKey = $licenseKey;
     $message = "The license key “{$licenseKey}” is invalid.";
     parent::__construct($message);
 }