MediaWiki
REL1_22
|
This exception will be thrown when dieUsage is called to stop module execution. More...
Public Member Functions | |
__construct ($message, $codestr, $code=0, $extradata=null) | |
__toString () | |
getCodeString () | |
getMessageArray () | |
Private Attributes | |
$mCodestr | |
null array | $mExtraData |
This exception will be thrown when dieUsage is called to stop module execution.
The exception handling code will print a help screen explaining how this API may be used.
Definition at line 1299 of file ApiMain.php.
UsageException::__construct | ( | $ | message, |
$ | codestr, | ||
$ | code = 0 , |
||
$ | extradata = null |
||
) |
$message | string |
$codestr | string |
$code | int |
$extradata | array|null |
Definition at line 1313 of file ApiMain.php.
Definition at line 1343 of file ApiMain.php.
Definition at line 1322 of file ApiMain.php.
Referenced by ApiOptionsTest\testAnon(), ApiEditPageTest\testEditConflict(), ApiEditPageTest\testEditConflict_redirect(), ApiEditPageTest\testEditSection(), ApiOptionsTest\testNoChanges(), ApiOptionsTest\testNoOptionname(), ApiParseTest\testParseNonexistentPage(), and ApiWatchTest\testWatchRollback().
Definition at line 1329 of file ApiMain.php.
Referenced by ApiParseTest\testParseNonexistentPage().
UsageException::$mCodestr [private] |
Definition at line 1301 of file ApiMain.php.
null array UsageException::$mExtraData [private] |
Definition at line 1305 of file ApiMain.php.