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