aboutsummaryrefslogtreecommitdiff
path: root/app/models/Exception
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/Exception')
-rw-r--r--app/models/Exception/EntriesGetterException.php7
-rw-r--r--app/models/Exception/FeedException.php19
2 files changed, 0 insertions, 26 deletions
diff --git a/app/models/Exception/EntriesGetterException.php b/app/models/Exception/EntriesGetterException.php
deleted file mode 100644
index 3a51bff7c..000000000
--- a/app/models/Exception/EntriesGetterException.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-class EntriesGetterException extends Exception {
- public function __construct ($message) {
- parent::__construct ($message);
- }
-}
diff --git a/app/models/Exception/FeedException.php b/app/models/Exception/FeedException.php
deleted file mode 100644
index bff297eb9..000000000
--- a/app/models/Exception/FeedException.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-
-class FeedException extends Exception {
- public function __construct ($message) {
- parent::__construct ($message);
- }
-}
-
-class BadUrlException extends FeedException {
- public function __construct ($url) {
- parent::__construct ('`' . $url . '` is not a valid URL');
- }
-}
-
-class OpmlException extends FeedException {
- public function __construct ($name_file) {
- parent::__construct ('OPML file is invalid');
- }
-}