diff options
author | David King <imkingdavid@gmail.com> | 2012-09-01 16:38:47 -0400 |
---|---|---|
committer | David King <imkingdavid@gmail.com> | 2012-09-01 16:38:47 -0400 |
commit | 7bf598954c452448c2807428f6517cd75d910f92 (patch) | |
tree | 1a8ba768a01b36e8fb1159b996383d935fb8b352 /phpBB/includes/extension/exception.php | |
parent | 43190ebecaeadbc8738da9dcb33b9163652fb9f3 (diff) | |
parent | 81f7f28cc33d896973c2912097103ea84fa14114 (diff) | |
download | forums-7bf598954c452448c2807428f6517cd75d910f92.tar forums-7bf598954c452448c2807428f6517cd75d910f92.tar.gz forums-7bf598954c452448c2807428f6517cd75d910f92.tar.bz2 forums-7bf598954c452448c2807428f6517cd75d910f92.tar.xz forums-7bf598954c452448c2807428f6517cd75d910f92.zip |
Merge remote-tracking branch 'unknownbliss/ticket/10631' into develop
Diffstat (limited to 'phpBB/includes/extension/exception.php')
-rw-r--r-- | phpBB/includes/extension/exception.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/phpBB/includes/extension/exception.php b/phpBB/includes/extension/exception.php new file mode 100644 index 0000000000..e08a8912ea --- /dev/null +++ b/phpBB/includes/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 |