# getresponse/1.3.5/includes/classes/Mustache/Exception/UnknownTemplateException.php

GetResponse Forms by Optin Cat, version 1.3.5. 33 lines.

- Page: https://pluginprobe.com/plugins/getresponse/1.3.5/code/includes/classes/Mustache/Exception/UnknownTemplateException.php
- Raw: https://pluginprobe.com/plugins/getresponse/1.3.5/raw/includes/classes/Mustache/Exception/UnknownTemplateException.php
- Modified: 2015-06-12T09:52:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/getresponse/1.3.5/code/includes/classes/Mustache/Exception/UnknownTemplateException.php#L10-L20`.

```php
<?php

/*
 * This file is part of Mustache.php.
 *
 * (c) 2010-2014 Justin Hileman
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * Unknown template exception.
 */
class Mustache_Exception_UnknownTemplateException extends InvalidArgumentException implements Mustache_Exception
{
    protected $templateName;

    /**
     * @param string $templateName
     */
    public function __construct($templateName)
    {
        $this->templateName = $templateName;
        parent::__construct(sprintf('Unknown template: %s', $templateName));
    }

    public function getTemplateName()
    {
        return $this->templateName;
    }
}

```
