MediaWiki REL1_41
|
Basic localized exception. More...
Inherits Exception, and ILocalizedException.
Inherited by IncompatibleDiffTypesException.
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 32 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 43 of file LocalizedException.php.
References $messageSpec, and getMessageObject().
LocalizedException::getMessageObject | ( | ) |
Return a Message object for this exception.
Implements ILocalizedException.
Definition at line 55 of file LocalizedException.php.
References Message\newFromSpecifier().
Referenced by __construct(), DifferenceEngine\getDiffBody(), and DifferenceEngine\getDiffBodyForRole().
|
protected |
Definition at line 34 of file LocalizedException.php.
Referenced by __construct().