diff options
Diffstat (limited to 'languages/utils/CLDRPluralRuleError.php')
-rw-r--r-- | languages/utils/CLDRPluralRuleError.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/languages/utils/CLDRPluralRuleError.php b/languages/utils/CLDRPluralRuleError.php new file mode 100644 index 00000000..cc0b5d2f --- /dev/null +++ b/languages/utils/CLDRPluralRuleError.php @@ -0,0 +1,20 @@ +<?php +/** + * @author Niklas Laxström, Tim Starling + * + * @copyright Copyright © 2010-2012, Niklas Laxström + * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * + * @file + * @since 1.20 + */ + +/** + * The exception class for all the classes in this file. This will be thrown + * back to the caller if there is any validation error. + */ +class CLDRPluralRuleError extends MWException { + function __construct( $message ) { + parent::__construct( 'CLDR plural rule error: ' . $message ); + } +} |