MediaWiki REL1_34
|
Basic localized exception. More...
Public Member Functions | |
__construct ( $messageSpec, $code=0, $previous=null) | |
getMessageObject () | |
Return a Message object for this exception. | |
Protected Attributes | |
string array MessageSpecifier | $messageSpec |
Basic localized exception.
Definition at line 28 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 38 of file LocalizedException.php.
References $messageSpec, and getMessageObject().
LocalizedException::getMessageObject | ( | ) |
Return a Message object for this exception.
Implements ILocalizedException.
Definition at line 50 of file LocalizedException.php.
References Message\newFromSpecifier().
Referenced by __construct().
|
protected |
Definition at line 30 of file LocalizedException.php.
Referenced by __construct().