class QueryException extends LogicException implements ORMException (View source)

Description of QueryException.

Methods

static QueryException
dqlError($dql, Throwable|null $previous = null)

No description

static QueryException
syntaxError(string $message, Exception|null $previous = null)

No description

static QueryException
semanticalError(string $message, Exception|null $previous = null)

No description

static QueryException
invalidLockMode()

No description

static QueryException
invalidParameterType(string $expected, string $received)

No description

static QueryException
invalidParameterPosition(string $pos)

No description

static QueryException
tooManyParameters(int $expected, int $received)

No description

static QueryException
tooFewParameters(int $expected, int $received)

No description

static QueryException
invalidParameterFormat(string $value)

No description

static QueryException
unknownParameter(string $key)

No description

static QueryException
parameterTypeMismatch()

No description

static QueryException
invalidPathExpression(object $pathExpr)

No description

static QueryException
invalidLiteral(string $literal)

No description

static QueryException
iterateWithFetchJoinCollectionNotAllowed(mixed[] $assoc)

No description

static QueryException
partialObjectsAreDangerous()

No description

static QueryException
overwritingJoinConditionsNotYetSupported(mixed[] $assoc)

No description

static QueryException
instanceOfUnrelatedClass(string $className, string $rootClass)

No description

static QueryException
invalidQueryComponent(string $dqlAlias)

No description

Details

static QueryException dqlError($dql, Throwable|null $previous = null)

Parameters

$dql
Throwable|null $previous

Return Value

QueryException

static QueryException syntaxError(string $message, Exception|null $previous = null)

Parameters

string $message
Exception|null $previous

Return Value

QueryException

static QueryException semanticalError(string $message, Exception|null $previous = null)

Parameters

string $message
Exception|null $previous

Return Value

QueryException

static QueryException invalidLockMode()

Return Value

QueryException

static QueryException invalidParameterType(string $expected, string $received)

Parameters

string $expected
string $received

Return Value

QueryException

static QueryException invalidParameterPosition(string $pos)

Parameters

string $pos

Return Value

QueryException

static QueryException tooManyParameters(int $expected, int $received)

Parameters

int $expected
int $received

Return Value

QueryException

static QueryException tooFewParameters(int $expected, int $received)

Parameters

int $expected
int $received

Return Value

QueryException

static QueryException invalidParameterFormat(string $value)

Parameters

string $value

Return Value

QueryException

static QueryException unknownParameter(string $key)

Parameters

string $key

Return Value

QueryException

static QueryException parameterTypeMismatch()

Return Value

QueryException

static QueryException invalidPathExpression(object $pathExpr)

Parameters

object $pathExpr

Return Value

QueryException

static QueryException invalidLiteral(string $literal)

Parameters

string $literal

Return Value

QueryException

static QueryException iterateWithFetchJoinCollectionNotAllowed(mixed[] $assoc)

Parameters

mixed[] $assoc

Return Value

QueryException

static QueryException partialObjectsAreDangerous()

Return Value

QueryException

static QueryException overwritingJoinConditionsNotYetSupported(mixed[] $assoc)

Parameters

mixed[] $assoc

Return Value

QueryException

static QueryException associationPathInverseSideNotSupported(PathExpression $pathExpr)

Parameters

PathExpression $pathExpr

Return Value

QueryException

static QueryException iterateWithFetchJoinNotAllowed(AssociationMetadata $association)

Parameters

AssociationMetadata $association

Return Value

QueryException

static QueryException associationPathCompositeKeyNotSupported()

Return Value

QueryException

static QueryException instanceOfUnrelatedClass(string $className, string $rootClass)

Parameters

string $className
string $rootClass

Return Value

QueryException

static QueryException invalidQueryComponent(string $dqlAlias)

Parameters

string $dqlAlias

Return Value

QueryException