diff options
Diffstat (limited to 'phpBB/phpbb/extension/exception.php')
-rw-r--r-- | phpBB/phpbb/extension/exception.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/phpBB/phpbb/extension/exception.php b/phpBB/phpbb/extension/exception.php new file mode 100644 index 0000000000..e2ba647878 --- /dev/null +++ b/phpBB/phpbb/extension/exception.php @@ -0,0 +1,29 @@ +<?php +/** +* +* @package extension +* @copyright (c) 2012 phpBB Group +* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 +* +*/ + +namespace phpbb\extension; + +/** +* @ignore +*/ +if (!defined('IN_PHPBB')) +{ + exit; +} + +/** + * Exception class for metadata + */ +class exception extends \UnexpectedValueException +{ + public function __toString() + { + return $this->getMessage(); + } +}
\ No newline at end of file |