MediaWiki
1.32.5
|
Basic localized exception. More...
Public Member Functions | |
__construct ( $messageSpec, $code=0, $previous=null) | |
getMessageObject () | |
Return a Message object for this exception. More... | |
Protected Attributes | |
string array MessageSpecifier | $messageSpec |
Basic localized exception.
Definition at line 42 of file LocalizedException.php.
LocalizedException::__construct | ( | $messageSpec, | |
$code = 0 , |
|||
$previous = null |
|||
) |
string | array | MessageSpecifier | $messageSpec | See Message::newFromSpecifier |
int | $code | |
Exception | Throwable | null | $previous | The previous exception used for the exception chaining. |
Definition at line 52 of file LocalizedException.php.
References $code, $messageSpec, and getMessageObject().
LocalizedException::getMessageObject | ( | ) |
Return a Message object for this exception.
Implements ILocalizedException.
Definition at line 64 of file LocalizedException.php.
Referenced by __construct().
|
protected |
Definition at line 44 of file LocalizedException.php.
Referenced by __construct().