MediaWiki
REL1_21
|
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 1303 of file ApiMain.php.
UsageException::__construct | ( | $ | message, |
$ | codestr, | ||
$ | code = 0 , |
||
$ | extradata = null |
||
) |
$message | string |
$codestr | string |
$code | int |
$extradata | array|null |
Definition at line 1317 of file ApiMain.php.
Definition at line 1347 of file ApiMain.php.
Definition at line 1326 of file ApiMain.php.
Referenced by ApiOptionsTest\testAnon(), ApiEditPageTest\testEditConflict(), ApiEditPageTest\testEditConflict_redirect(), ApiOptionsTest\testNoChanges(), ApiOptionsTest\testNoOptionname(), ApiParseTest\testParseNonexistentPage(), and ApiWatchTest\testWatchRollback().
Definition at line 1333 of file ApiMain.php.
Referenced by ApiParseTest\testParseNonexistentPage().
UsageException::$mCodestr [private] |
Definition at line 1305 of file ApiMain.php.
null array UsageException::$mExtraData [private] |
Definition at line 1309 of file ApiMain.php.