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