MediaWiki REL1_28
|
Subclass of UnexpectedValueException that can be annotated with additional data for debug logging. More...
Public Member Functions | |
__construct ( $message='', $code=0, Exception $previous=null, array $context=[]) | |
getContext () | |
Get context data. | |
setContext (array $context) | |
Set context data. | |
Protected Attributes | |
$context | |
Subclass of UnexpectedValueException that can be annotated with additional data for debug logging.
Definition at line 36 of file MetadataMergeException.php.
MediaWiki\Session\MetadataMergeException::__construct | ( | $message = '' , |
|
$code = 0 , |
|||
Exception | $previous = null , |
||
array | $context = [] |
||
) |
string | $message | |
int | $code | |
Exception | null | $previous | |
array | $context | Additional context data |
Definition at line 46 of file MetadataMergeException.php.
References $code, and MediaWiki\Session\MetadataMergeException\$context.
MediaWiki\Session\MetadataMergeException::getContext | ( | ) |
Get context data.
Definition at line 60 of file MetadataMergeException.php.
References MediaWiki\Session\MetadataMergeException\$context.
Referenced by MediaWiki\Session\SessionManager\loadSessionInfoFromStore(), and MediaWiki\Session\SessionProviderTest\testMergeMetadata().
MediaWiki\Session\MetadataMergeException::setContext | ( | array | $context | ) |
Set context data.
array | $context |
Definition at line 68 of file MetadataMergeException.php.
References MediaWiki\Session\MetadataMergeException\$context.
|
protected |
Definition at line 38 of file MetadataMergeException.php.
Referenced by MediaWiki\Session\MetadataMergeException\__construct(), MediaWiki\Session\MetadataMergeException\getContext(), and MediaWiki\Session\MetadataMergeException\setContext().