UsageException Class Reference
[API]

This exception will be thrown when dieUsage is called to stop module execution. More...

List of all members.

Public Member Functions

 __construct ($message, $codestr, $code=0)
 getCodeString ()
 __toString ()

Private Attributes

 $mCodestr


Detailed Description

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 704 of file ApiMain.php.


Constructor & Destructor Documentation

UsageException::__construct ( message,
codestr,
code = 0 
)

Definition at line 708 of file ApiMain.php.

References $code.


Member Function Documentation

UsageException::__toString (  ) 

Definition at line 715 of file ApiMain.php.

UsageException::getCodeString (  ) 

Definition at line 712 of file ApiMain.php.


Member Data Documentation

UsageException::$mCodestr [private]

Definition at line 706 of file ApiMain.php.


The documentation for this class was generated from the following file:

Generated on Sat Sep 5 02:08:49 2009 for MediaWiki by  doxygen 1.5.9