]>
Commit | Line | Data |
---|---|---|
e1850388 | 1 | <?php |
53054b2b | 2 | |
e1850388 V |
3 | namespace Shaarli\Plugin\Exception; |
4 | ||
5 | use Exception; | |
6 | ||
7 | /** | |
8 | * Class PluginFileNotFoundException | |
9 | * | |
10 | * Raise when plugin files can't be found. | |
11 | */ | |
12 | class PluginFileNotFoundException extends Exception | |
13 | { | |
14 | /** | |
15 | * Construct exception with plugin name. | |
16 | * Generate message. | |
17 | * | |
18 | * @param string $pluginName name of the plugin not found | |
19 | */ | |
20 | public function __construct($pluginName) | |
21 | { | |
22 | $this->message = sprintf(t('Plugin "%s" files not found.'), $pluginName); | |
23 | } | |
24 | } |