MediaWiki REL1_31
CannotReplaceActiveServiceException.php
Go to the documentation of this file.
1<?php
3
4use Exception;
5use RuntimeException;
6
33class CannotReplaceActiveServiceException extends RuntimeException {
34
39 public function __construct( $serviceName, Exception $previous = null ) {
40 parent::__construct( "Cannot replace an active service: $serviceName", 0, $previous );
41 }
42
43}
Exception thrown when trying to replace an already active service.