diff options
Diffstat (limited to 'phpBB/phpbb/extension/exception.php')
| -rw-r--r-- | phpBB/phpbb/extension/exception.php | 21 | 
1 files changed, 21 insertions, 0 deletions
| diff --git a/phpBB/phpbb/extension/exception.php b/phpBB/phpbb/extension/exception.php new file mode 100644 index 0000000000..82327c9d5e --- /dev/null +++ b/phpBB/phpbb/extension/exception.php @@ -0,0 +1,21 @@ +<?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; + +/** + * Exception class for metadata + */ +class exception extends \UnexpectedValueException +{ +	public function __toString() +	{ +		return $this->getMessage(); +	} +} | 
