final class SqlParseException
    extends SimulationException

Exception thrown when SQL parsing fails due to syntax errors.

Methods§

public function __construct(string $sql, string $parseError)

Parameters

$sqlstringThe SQL statement that failed to parse.
$parseErrorstringThe parse error message.
Test cases 3
Calls 2
public function getSql(): string

Get the SQL statement that failed to parse.

Returns

string
Test cases 1
public function getParseError(): string

Get the parse error message.

Returns

string
Test cases 1

Private surface 2§

Implementation details, listed for orientation only.

private string $sql
private string $parseError

Test cases 3§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 3