| 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 | 9 | public function __construct($message = '', $code = 0, $previous = null, $invalidParameter = '') |
|
| 34 | |||
| 35 | /** |
||
| 36 | * Get the parameter that caused this exception. |
||
| 37 | * |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function getInvalidParameter() |
||
| 44 | } |
||
| 45 |