|
MediaWiki 1.43.1
|
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 34 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 45 of file LocalizedException.php.
References $messageSpec, and getMessageObject().
| LocalizedException::getMessageObject | ( | ) |
Return a Message object for this exception.
Implements ILocalizedException.
Definition at line 57 of file LocalizedException.php.
Referenced by __construct(), DifferenceEngine\getDiffBody(), and DifferenceEngine\getDiffBodyForRole().
|
protected |
Definition at line 36 of file LocalizedException.php.
Referenced by __construct().