MediaWiki master
|
Exception thrown when an unregistered content model is requested. More...
Inherits Exception.
Public Member Functions | |
__construct ( $modelId) | |
getModelId () | |
Exception thrown when an unregistered content model is requested.
This error can be triggered by user input, so a separate exception class is provided so callers can substitute a context-specific, internationalised error message.
Definition at line 11 of file MWUnknownContentModelException.php.
MWUnknownContentModelException::__construct | ( | $modelId | ) |
string | $modelId |
Definition at line 19 of file MWUnknownContentModelException.php.
MWUnknownContentModelException::getModelId | ( | ) |
Definition at line 27 of file MWUnknownContentModelException.php.