MediaWiki  REL1_24
HTMLFormFieldRequiredOptionsException.php
Go to the documentation of this file.
00001 <?php
00002 
00003 class HTMLFormFieldRequiredOptionsException extends MWException {
00004     public function __construct( HTMLFormField $field, array $missing ) {
00005         parent::__construct( sprintf( "Form type `%s` expected the following parameters to be set: %s",
00006             get_class( $field ),
00007             implode( ', ', $missing ) ) );
00008     }
00009 }