Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5971077
FilterNotFoundException.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
688 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
;
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
Sat, Oct 3, 14:55 (22 h, 48 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6a/fd/6201d1ae26c26233851445a24726
Default Alt Text
FilterNotFoundException.php (688 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment