diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-03-10 23:41:04 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-03-10 23:41:04 +0300 |
commit | 3850551e56fe5881b9e1eb75dbd3cf4ea2907ca7 (patch) | |
tree | 2f7bea689c17d4bd13a0ed7bf9dc9f17dcb94ece /core/Config | |
parent | 42da3f8768472598c33be76ddfcd72a6759d3dbc (diff) |
Fixes #7356 Do not catch and silence exceptions blindly
Diffstat (limited to 'core/Config')
-rw-r--r-- | core/Config/ConfigNotFoundException.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/core/Config/ConfigNotFoundException.php b/core/Config/ConfigNotFoundException.php new file mode 100644 index 0000000000..5860367ba7 --- /dev/null +++ b/core/Config/ConfigNotFoundException.php @@ -0,0 +1,16 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + +namespace Piwik\Config; + +/** + * Exception thrown when the config file doesn't exist. + */ +class ConfigNotFoundException extends \Exception +{ +} |