aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification/exception.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/notification/exception.php')
-rw-r--r--phpBB/phpbb/notification/exception.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/phpBB/phpbb/notification/exception.php b/phpBB/phpbb/notification/exception.php
new file mode 100644
index 0000000000..275fb3b542
--- /dev/null
+++ b/phpBB/phpbb/notification/exception.php
@@ -0,0 +1,31 @@
+<?php
+/**
+*
+* @package notifications
+* @copyright (c) 2013 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License v2
+*
+*/
+
+namespace phpbb\notification;
+
+/**
+* @ignore
+*/
+if (!defined('IN_PHPBB'))
+{
+ exit;
+}
+
+/**
+* Notifications exception
+*
+* @package notifications
+*/
+class exception extends \Exception
+{
+ public function __toString()
+ {
+ return $this->getMessage();
+ }
+}