Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F2753467
FilterNotFoundException.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
745 B
Referenced Files
None
Subscribers
None
FilterNotFoundException.php
View Options
<?php
namespace
MediaWiki\Extension\AbuseFilter\Filter
;
use
Exception
;
use
Wikimedia\NormalizedException\INormalizedException
;
use
Wikimedia\NormalizedException\NormalizedExceptionTrait
;
/**
* @codeCoverageIgnore
*/
class
FilterNotFoundException
extends
Exception
implements
INormalizedException
{
use
NormalizedExceptionTrait
;
/**
* @param int $filter
* @param bool $global
*/
public
function
__construct
(
int
$filter
,
bool
$global
)
{
$this
->
normalizedMessage
=
$global
?
"Global filter {filter} does not exist"
:
"Filter {filter} does not exist"
;
$this
->
messageContext
=
[
'filter'
=>
$filter
];
parent
::
__construct
(
self
::
getMessageFromNormalizedMessage
(
$this
->
normalizedMessage
,
$this
->
messageContext
)
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Jul 3, 21:18 (22 h, 12 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
62/48/9006931f8b90304fa458af85188c
Default Alt Text
FilterNotFoundException.php (745 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment