1 | <?php |
||
16 | class InvalidParameterException extends Exception |
||
17 | { |
||
18 | /** |
||
19 | * @var string The parameter that caused this exception. |
||
20 | */ |
||
21 | private $invalidParameter; |
||
22 | |||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | * |
||
26 | * @param string $invalidParameter The parameter that caused this exception. |
||
27 | */ |
||
28 | 15 | public function __construct($message = '', $code = 0, $previous = null, $invalidParameter = '') |
|
34 | |||
35 | /** |
||
36 | * @return string The parameter that caused this exception. |
||
37 | */ |
||
38 | 3 | public function getInvalidParameter() |
|
42 | } |
||
43 |