mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-24 10:27:46 +02:00
FilterParseException: Store invalid char and its position
This commit is contained in:
parent
79a6feeb4b
commit
7f6438e03c
@ -7,4 +7,25 @@ use Icinga\Exception\IcingaException;
|
|||||||
|
|
||||||
class FilterParseException extends IcingaException
|
class FilterParseException extends IcingaException
|
||||||
{
|
{
|
||||||
|
protected $char;
|
||||||
|
|
||||||
|
protected $charPos;
|
||||||
|
|
||||||
|
public function __construct($message, $filter, $char, $charPos, ...$additional)
|
||||||
|
{
|
||||||
|
parent::__construct($message, $filter, $char, $charPos, ...$additional);
|
||||||
|
|
||||||
|
$this->char = $char;
|
||||||
|
$this->charPos = $charPos;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getChar()
|
||||||
|
{
|
||||||
|
return $this->char;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getCharPos()
|
||||||
|
{
|
||||||
|
return $this->charPos;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user