summaryrefslogtreecommitdiffstats
path: root/utility/fetcherexception.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-22 11:40:15 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-22 11:40:15 +0100
commit880184d0c2372c2493d62cb6fa4d268902043a65 (patch)
treeff4a1fe0953fb41c8ce0cf75f2735578f72f9063 /utility/fetcherexception.php
parentc8352ac5817a3174fa0947aa5eeef349e760f824 (diff)
added a seperate exception for fetching feeds
Diffstat (limited to 'utility/fetcherexception.php')
-rw-r--r--utility/fetcherexception.php38
1 files changed, 38 insertions, 0 deletions
diff --git a/utility/fetcherexception.php b/utility/fetcherexception.php
new file mode 100644
index 000000000..2f6764077
--- /dev/null
+++ b/utility/fetcherexception.php
@@ -0,0 +1,38 @@
+<?php
+
+/**
+* ownCloud - News
+*
+* @author Alessandro Cosentino
+* @author Bernhard Posselt
+* @copyright 2012 Alessandro Cosentino cosenal@gmail.com
+* @copyright 2012 Bernhard Posselt nukeawhale@gmail.com
+*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
+* License as published by the Free Software Foundation; either
+* version 3 of the License, or any later version.
+*
+* This library is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
+*
+* You should have received a copy of the GNU Affero General Public
+* License along with this library. If not, see <http://www.gnu.org/licenses/>.
+*
+*/
+
+namespace OCA\News\Utility;
+
+class FetcherException extends \Exception {
+
+ /**
+ * Constructor
+ * @param string $msg the error message
+ */
+ public function __construct($msg){
+ parent::__construct($msg);
+ }
+
+} \ No newline at end of file