Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\MessageException Class Reference
+ Inheritance diagram for Wikibase\Lib\MessageException:
+ Collaboration diagram for Wikibase\Lib\MessageException:

Public Member Functions

 __construct ( $key, array $params, $message, Exception $previous=null)
 
 getKey ()
 
 getParams ()
 

Protected Attributes

 $key
 
 $params
 

Detailed Description

Author
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\MessageException::__construct (   $key,
array  $params,
  $message,
Exception  $previous = null 
)
Parameters
string$key
array$paramsList of parameters, depending on the message. Calling code must make sure these parameters are properly escaped.
string$message
Exception | null$previous

Reimplemented in Wikibase\Lib\UserInputException.

Member Function Documentation

◆ getKey()

Wikibase\Lib\MessageException::getKey ( )
Returns
string

◆ getParams()

Wikibase\Lib\MessageException::getParams ( )
Returns
array

Member Data Documentation

◆ $key

Wikibase\Lib\MessageException::$key
protected

◆ $params

Wikibase\Lib\MessageException::$params
protected

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