1 | <?php |
||
8 | class gwBoundsExceptionInfo extends gwCoreExceptionInfo implements gwiExceptionInfo |
||
9 | { |
||
10 | /** |
||
11 | * @var mixed |
||
12 | */ |
||
13 | protected $value; |
||
14 | |||
15 | /** |
||
16 | * @var array|string |
||
17 | */ |
||
18 | protected $values; |
||
19 | |||
20 | /** |
||
21 | * @var bool |
||
22 | */ |
||
23 | protected $valuesareillegal; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $note; |
||
29 | |||
30 | /** |
||
31 | * Constructor. |
||
32 | * |
||
33 | * @param mixed $value the actual value that caused the exception |
||
34 | * @param array|string $values a list of legal values (or illegal values if $valuesareillegal is true) |
||
35 | * @param bool $valuesareillegal $values array contains illegal values |
||
36 | * @param string $note an optional note |
||
37 | */ |
||
38 | public function __construct($value, $values, $valuesareillegal = false, $note = '') |
||
45 | |||
46 | /** |
||
47 | * @return string |
||
48 | */ |
||
49 | public function fetch() |
||
75 | } |
||
76 |