MediaWiki master
MediaWiki\Revision\RevisionAccessException Class Reference

Exception representing a failure to look up a revision. More...

Inherits RuntimeException, and INormalizedException.

Inherited by MediaWiki\Revision\BadRevisionException, MediaWiki\Revision\IncompleteRevisionException, and MediaWiki\Revision\SuppressedDataException.

Collaboration diagram for MediaWiki\Revision\RevisionAccessException:

Public Member Functions

 __construct (string $normalizedMessage='', array $messageContext=[], int $code=0, ?Throwable $previous=null)
 

Detailed Description

Exception representing a failure to look up a revision.

Stability: newable
Since
1.31
1.32 Renamed from MediaWiki\Storage\RevisionAccessException

Definition at line 37 of file RevisionAccessException.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Revision\RevisionAccessException::__construct ( string $normalizedMessage = '',
array $messageContext = [],
int $code = 0,
?Throwable $previous = null )
Stability: stable
to call
Parameters
string$normalizedMessageThe exception message, with PSR-3 style placeholders.
array$messageContextMessage context, with values for the placeholders.
int$codeThe exception code.
Throwable | null$previousThe previous throwable used for the exception chaining.

Definition at line 48 of file RevisionAccessException.php.


The documentation for this class was generated from the following file: