blob: 9f5b67e3f6af3c7b07473272fdf6d6e0287f69d6 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<?php
namespace SMW\Schema\Exception;
use RuntimeException;
/**
* @license GNU GPL v2+
* @since 3.0
*
* @author mwjames
*/
class SchemaTypeNotFoundException extends RuntimeException {
/**
* @var string
*/
private $type = '';
/**
* @since 3.0
*
* @param string $type
*/
public function __construct( $type ) {
parent::__construct( "$type is an unrecognized schema type." );
$this->type = $type;
}
/**
* @since 3.0
*
* @return string
*/
public function getType() {
return $this->type;
}
}
|