| 1 | <?php |
||
| 11 | class CursorParameterException extends UnexpectedValueException implements BadQueryException |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | protected $column; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * CursorParameterException constructor. |
||
| 20 | * |
||
| 21 | * @param string $message |
||
| 22 | * @param string $column column which caused an exception. |
||
| 23 | * @param int $code |
||
| 24 | * @param null|\Exception|\Throwable $previous |
||
| 25 | */ |
||
| 26 | public function __construct($message, $column, $code = 0, $previous = null) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Return column which caused an exception. |
||
| 35 | * |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | public function getColumn() |
||
| 42 | } |
||
| 43 |