mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
parent
afd0c20c42
commit
e6612fefe7
@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
namespace Icinga\Data\Filter;
|
namespace Icinga\Data\Filter;
|
||||||
|
|
||||||
use Exception;
|
use Icinga\Exception\IcingaException;
|
||||||
|
|
||||||
class FilterParseException extends Exception
|
class FilterParseException extends IcingaException
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ class FilterQueryString
|
|||||||
protected $reportDebug = false;
|
protected $reportDebug = false;
|
||||||
|
|
||||||
protected $length;
|
protected $length;
|
||||||
|
|
||||||
protected function __construct()
|
protected function __construct()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@ -111,13 +111,13 @@ class FilterQueryString
|
|||||||
$extra .= "\n" . implode("\n", $this->debug);
|
$extra .= "\n" . implode("\n", $this->debug);
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new FilterParseException(sprintf(
|
throw new FilterParseException(
|
||||||
'Invalid filter "%s", unexpected %s at pos %d%s',
|
'Invalid filter "%s", unexpected %s at pos %d%s',
|
||||||
$this->string,
|
$this->string,
|
||||||
$char,
|
$char,
|
||||||
$this->pos,
|
$this->pos,
|
||||||
$extra
|
$extra
|
||||||
));
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function readFilters($nestingLevel = 0, $op = null)
|
protected function readFilters($nestingLevel = 0, $op = null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user