MediaWiki
REL1_20
|
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 1176 of file ApiMain.php.
UsageException::__construct | ( | $ | message, |
$ | codestr, | ||
$ | code = 0 , |
||
$ | extradata = null |
||
) |
$message | string |
$codestr | string |
$code | int |
$extradata | array|null |
Definition at line 1190 of file ApiMain.php.
Definition at line 1220 of file ApiMain.php.
Definition at line 1199 of file ApiMain.php.
Referenced by ApiOptionsTest\testAnon(), ApiOptionsTest\testNoChanges(), ApiOptionsTest\testNoOptionname(), and ApiWatchTest\testWatchRollback().
Definition at line 1206 of file ApiMain.php.
UsageException::$mCodestr [private] |
Definition at line 1178 of file ApiMain.php.
null array UsageException::$mExtraData [private] |
Definition at line 1182 of file ApiMain.php.