diff options
Diffstat (limited to 'phpBB/phpbb/notification/exception.php')
-rw-r--r-- | phpBB/phpbb/notification/exception.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/phpBB/phpbb/notification/exception.php b/phpBB/phpbb/notification/exception.php new file mode 100644 index 0000000000..1b4cc89fc9 --- /dev/null +++ b/phpBB/phpbb/notification/exception.php @@ -0,0 +1,23 @@ +<?php +/** +* +* @package notifications +* @copyright (c) 2013 phpBB Group +* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 +* +*/ + +namespace phpbb\notification; + +/** +* Notifications exception +* +* @package notifications +*/ +class exception extends \Exception +{ + public function __toString() + { + return $this->getMessage(); + } +} |