summaryrefslogtreecommitdiffstats
path: root/service/serviceexception.php
diff options
context:
space:
mode:
Diffstat (limited to 'service/serviceexception.php')
-rw-r--r--service/serviceexception.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/service/serviceexception.php b/service/serviceexception.php
new file mode 100644
index 000000000..401b3db09
--- /dev/null
+++ b/service/serviceexception.php
@@ -0,0 +1,27 @@
+<?php
+/**
+ * ownCloud - News
+ *
+ * This file is licensed under the Affero General Public License version 3 or
+ * later. See the COPYING file.
+ *
+ * @author Alessandro Cosentino <cosenal@gmail.com>
+ * @author Bernhard Posselt <dev@bernhard-posselt.com>
+ * @copyright Alessandro Cosentino 2012
+ * @copyright Bernhard Posselt 2012, 2014
+ */
+
+namespace OCA\News\Service;
+
+
+class ServiceException extends \Exception {
+
+ /**
+ * Constructor
+ * @param string $msg the error message
+ */
+ public function __construct($msg){
+ parent::__construct($msg);
+ }
+
+} \ No newline at end of file