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