diff options
| author | 2013-05-12 16:51:45 +0200 | |
|---|---|---|
| committer | 2013-05-12 16:51:45 +0200 | |
| commit | c96225df6d6ba3aca0c6786c7f091f02c11d6e8d (patch) | |
| tree | f8d32cce0a12684604205314102e3f0d2a5176e4 /app/models/Exception/FeedException.php | |
| parent | c88f57c0360eca7f8f152d35e54872bf845e0ca0 (diff) | |
Fix issue #84 : affichage erreur si fichier OPML invalide
Diffstat (limited to 'app/models/Exception/FeedException.php')
| -rw-r--r-- | app/models/Exception/FeedException.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/models/Exception/FeedException.php b/app/models/Exception/FeedException.php index bc61e1736..bff297eb9 100644 --- a/app/models/Exception/FeedException.php +++ b/app/models/Exception/FeedException.php @@ -11,3 +11,9 @@ class BadUrlException extends FeedException { parent::__construct ('`' . $url . '` is not a valid URL'); } } + +class OpmlException extends FeedException { + public function __construct ($name_file) { + parent::__construct ('OPML file is invalid'); + } +} |
