diff options
| author | 2014-10-09 15:53:10 +0200 | |
|---|---|---|
| committer | 2014-10-09 15:53:10 +0200 | |
| commit | f97d4b3b6cca4a55636bbd50158f3c57666b0f08 (patch) | |
| tree | 3ca9dd42155228292f0842d65b9b6d90e9140639 /app/Exceptions | |
| parent | e51ceb6812e3736aa9b9ce1f2d5181f5b4b6aaa3 (diff) | |
| parent | 444b1552364b39761c3278c7da5152fd3998f216 (diff) | |
Merge branch 'master' into hotfixes
Diffstat (limited to 'app/Exceptions')
| -rw-r--r-- | app/Exceptions/BadUrlException.php | 6 | ||||
| -rw-r--r-- | app/Exceptions/EntriesGetterException.php | 7 | ||||
| -rw-r--r-- | app/Exceptions/FeedException.php | 6 |
3 files changed, 19 insertions, 0 deletions
diff --git a/app/Exceptions/BadUrlException.php b/app/Exceptions/BadUrlException.php new file mode 100644 index 000000000..7d1fe110e --- /dev/null +++ b/app/Exceptions/BadUrlException.php @@ -0,0 +1,6 @@ +<?php +class FreshRSS_BadUrl_Exception extends FreshRSS_Feed_Exception { + public function __construct ($url) { + parent::__construct ('`' . $url . '` is not a valid URL'); + } +} diff --git a/app/Exceptions/EntriesGetterException.php b/app/Exceptions/EntriesGetterException.php new file mode 100644 index 000000000..eaa330979 --- /dev/null +++ b/app/Exceptions/EntriesGetterException.php @@ -0,0 +1,7 @@ +<?php + +class FreshRSS_EntriesGetter_Exception extends Exception { + public function __construct ($message) { + parent::__construct ($message); + } +} diff --git a/app/Exceptions/FeedException.php b/app/Exceptions/FeedException.php new file mode 100644 index 000000000..50918ba95 --- /dev/null +++ b/app/Exceptions/FeedException.php @@ -0,0 +1,6 @@ +<?php +class FreshRSS_Feed_Exception extends Exception { + public function __construct ($message) { + parent::__construct ($message); + } +} |
