MediaWiki master
UploadChunkFileException.php
Go to the documentation of this file.
1<?php
22use Wikimedia\NormalizedException\INormalizedException;
23use Wikimedia\NormalizedException\NormalizedExceptionTrait;
24
28class UploadChunkFileException extends RuntimeException implements INormalizedException {
29 use NormalizedExceptionTrait;
30
31 public function __construct( $message, array $context = [] ) {
32 $this->normalizedMessage = $message;
33 $this->messageContext = $context;
34
35 parent::__construct(
36 $this->getMessageFromNormalizedMessage( $this->normalizedMessage, $this->messageContext )
37 );
38 }
39}
__construct( $message, array $context=[])