summaryrefslogtreecommitdiff
path: root/app/models/Exception/FeedException.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/Exception/FeedException.php')
-rw-r--r--app/models/Exception/FeedException.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/models/Exception/FeedException.php b/app/models/Exception/FeedException.php
index 3fe0f4ea0..bc61e1736 100644
--- a/app/models/Exception/FeedException.php
+++ b/app/models/Exception/FeedException.php
@@ -5,3 +5,9 @@ class FeedException extends Exception {
parent::__construct ($message);
}
}
+
+class BadUrlException extends FeedException {
+ public function __construct ($url) {
+ parent::__construct ('`' . $url . '` is not a valid URL');
+ }
+}