summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/src/Services/Exception/ServiceNotFoundException.php
blob: 664ea144148c99545ef3bf8615b25effb844c04e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

namespace SMW\Services\Exception;

use InvalidArgumentException;

/**
 * @license GNU GPL v2+
 * @since 3.0
 *
 * @author mwjames
 */
class ServiceNotFoundException extends InvalidArgumentException {

	/**
	 * @since 3.0
	 *
	 * {@inheritDoc}
	 */
	public function __construct( $service ) {
		parent::__construct( "`$service` is not registered as service!" );
	}

}