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