class QueryException extends ORMException (View source)

Description of QueryException.

Methods

static ORMException
missingMappingDriverImpl()

No description

static ORMException
namedQueryNotFound(string $queryName)

No description

static ORMException
namedNativeQueryNotFound(string $nativeQueryName)

No description

static ORMException
entityMissingForeignAssignedId(object $entity, object $relatedEntity)

No description

static ORMException
entityMissingAssignedIdForField(object $entity, string $field)

No description

static ORMException
unrecognizedField(string $field)

No description

static ORMException
invalidOrientation(string $className, string $field)

No description

static ORMException
invalidFlushMode(string $mode)

No description

static ORMException
entityManagerClosed()

No description

static ORMException
invalidHydrationMode(string $mode)

No description

static ORMException
mismatchedEventManager()

No description

static ORMException
findByRequiresParameter(string $methodName)

No description

static ORMException
invalidFindByCall(string $entityName, string $fieldName, string $method)

No description

static ORMException
invalidFindByInverseAssociation(string $entityName, string $associationFieldName)

No description

static ORMException
invalidResultCacheDriver()

No description

static ORMException
notSupported()

No description

static ORMException
queryCacheNotConfigured()

No description

static ORMException
metadataCacheNotConfigured()

No description

static ORMException
unknownEntityNamespace(string $entityNamespaceAlias)

No description

static ORMException
invalidEntityRepository(string $className)

No description

static ORMException
missingIdentifierField(string $className, string $fieldName)

No description

static ORMException
overwriteInternalDQLFunctionNotAllowed(string $functionName)

No description

static QueryException
dqlError(string $dql)

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
invalidParameterNumber()

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(array $assoc)

No description

static QueryException
partialObjectsAreDangerous()

No description

static QueryException
overwritingJoinConditionsNotYetSupported(array $assoc)

No description

static QueryException
iterateWithFetchJoinNotAllowed(array $assoc)

No description

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

No description

static QueryException
invalidQueryComponent(string $dqlAlias)

No description

Details

static ORMException missingMappingDriverImpl()

Return Value

ORMException

static ORMException namedQueryNotFound(string $queryName)

Parameters

string $queryName

Return Value

ORMException

static ORMException namedNativeQueryNotFound(string $nativeQueryName)

Parameters

string $nativeQueryName

Return Value

ORMException

static ORMException entityMissingForeignAssignedId(object $entity, object $relatedEntity)

Parameters

object $entity
object $relatedEntity

Return Value

ORMException

static ORMException entityMissingAssignedIdForField(object $entity, string $field)

Parameters

object $entity
string $field

Return Value

ORMException

static ORMException unrecognizedField(string $field)

Parameters

string $field

Return Value

ORMException

static ORMException invalidOrientation(string $className, string $field)

Parameters

string $className
string $field

Return Value

ORMException

static ORMException invalidFlushMode(string $mode)

Parameters

string $mode

Return Value

ORMException

static ORMException entityManagerClosed()

Return Value

ORMException

static ORMException invalidHydrationMode(string $mode)

Parameters

string $mode

Return Value

ORMException

static ORMException mismatchedEventManager()

Return Value

ORMException

static ORMException findByRequiresParameter(string $methodName)

Parameters

string $methodName

Return Value

ORMException

static ORMException invalidFindByCall(string $entityName, string $fieldName, string $method)

Parameters

string $entityName
string $fieldName
string $method

Return Value

ORMException

static ORMException invalidFindByInverseAssociation(string $entityName, string $associationFieldName)

Parameters

string $entityName
string $associationFieldName

Return Value

ORMException

static ORMException invalidResultCacheDriver()

Return Value

ORMException

static ORMException notSupported()

Return Value

ORMException

static ORMException queryCacheNotConfigured()

Return Value

ORMException

static ORMException metadataCacheNotConfigured()

Return Value

ORMException

static ORMException proxyClassesAlwaysRegenerating()

Return Value

ORMException

static ORMException unknownEntityNamespace(string $entityNamespaceAlias)

Parameters

string $entityNamespaceAlias

Return Value

ORMException

static ORMException invalidEntityRepository(string $className)

Parameters

string $className

Return Value

ORMException

static ORMException missingIdentifierField(string $className, string $fieldName)

Parameters

string $className
string $fieldName

Return Value

ORMException

static ORMException overwriteInternalDQLFunctionNotAllowed(string $functionName)

Parameters

string $functionName

Return Value

ORMException

static QueryException dqlError(string $dql)

Parameters

string $dql

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 invalidParameterNumber()

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(array $assoc)

Parameters

array $assoc

Return Value

QueryException

static QueryException partialObjectsAreDangerous()

Return Value

QueryException

static QueryException overwritingJoinConditionsNotYetSupported(array $assoc)

Parameters

array $assoc

Return Value

QueryException

static QueryException associationPathInverseSideNotSupported()

Return Value

QueryException

static QueryException iterateWithFetchJoinNotAllowed(array $assoc)

Parameters

array $assoc

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