Documentation

ASTException extends QueryException
in package

Base exception class for AST exceptions.

Table of Contents

Methods

associationPathCompositeKeyNotSupported()  : QueryException
associationPathInverseSideNotSupported()  : QueryException
cantUseInOperatorOnCompositeKeys()  : ORMException
dqlError()  : QueryException
entityManagerClosed()  : ORMException
findByRequiresParameter()  : ORMException
instanceOfUnrelatedClass()  : QueryException
invalidEntityRepository()  : ORMException
invalidFindByInverseAssociation()  : ORMException
invalidHydrationMode()  : ORMException
invalidLiteral()  : QueryException
invalidLockMode()  : QueryException
invalidMagicCall()  : ORMException
invalidOrientation()  : ORMException
invalidParameterFormat()  : QueryException
invalidParameterPosition()  : QueryException
invalidParameterType()  : QueryException
invalidPathExpression()  : QueryException
invalidQueryComponent()  : QueryException
invalidResultCacheDriver()  : ORMException
iterateWithFetchJoinCollectionNotAllowed()  : QueryException
iterateWithFetchJoinNotAllowed()  : QueryException
iterateWithMixedResultNotAllowed()  : QueryException
metadataCacheNotConfigured()  : ORMException
metadataCacheUsesNonPersistentCache()  : ORMException
mismatchedEventManager()  : ORMException
missingIdentifierField()  : ORMException
missingMappingDriverImpl()  : ORMException
namedNativeQueryNotFound()  : ORMException
namedQueryNotFound()  : ORMException
noDispatchForNode()  : ASTException
notSupported()  : ORMException
overwritingJoinConditionsNotYetSupported()  : QueryException
parameterTypeMismatch()  : QueryException
partialObjectsAreDangerous()  : QueryException
proxyClassesAlwaysRegenerating()  : ORMException
queryCacheNotConfigured()  : ORMException
queryCacheUsesNonPersistentCache()  : ORMException
semanticalError()  : QueryException
syntaxError()  : QueryException
tooFewParameters()  : QueryException
tooManyParameters()  : QueryException
unexpectedAssociationValue()  : ORMException
unknownEntityNamespace()  : ORMException
unknownParameter()  : QueryException
unrecognizedField()  : ORMException
unrecognizedIdentifierFields()  : ORMException

Methods

cantUseInOperatorOnCompositeKeys()

public static cantUseInOperatorOnCompositeKeys() : ORMException
Tags
deprecated

Use Doctrine\ORM\Persisters\Exception\CantUseInOperatorOnCompositeKeys

Return values
ORMException

findByRequiresParameter()

public static findByRequiresParameter(string $methodName) : ORMException
Parameters
$methodName : string
Tags
deprecated

Use Doctrine\ORM\Repository\Exception\InvalidMagicMethodCall::onMissingParameter()

Return values
ORMException

invalidEntityRepository()

public static invalidEntityRepository(string $className) : ORMException
Parameters
$className : string
Tags
deprecated

Use Doctrine\ORM\Exception\InvalidEntityRepository

Return values
ORMException

invalidFindByInverseAssociation()

public static invalidFindByInverseAssociation(string $entityName, string $associationFieldName) : ORMException
Parameters
$entityName : string
$associationFieldName : string
Tags
deprecated

Use Doctrine\ORM\Repository\Exception\InvalidFindByCall::fromInverseSideUsage()

Return values
ORMException

invalidHydrationMode()

public static invalidHydrationMode(string $mode) : ORMException
Parameters
$mode : string
Tags
deprecated

Use Doctrine\ORM\Exception\InvalidHydrationMode

Return values
ORMException

invalidMagicCall()

public static invalidMagicCall(string $entityName, string $fieldName, string $method) : ORMException
Parameters
$entityName : string
$fieldName : string
$method : string
Tags
deprecated

Doctrine\ORM\Repository\Exception\InvalidFindByCall

Return values
ORMException

invalidOrientation()

public static invalidOrientation(string $className, string $field) : ORMException
Parameters
$className : string
$field : string
Tags
deprecated

Use Doctrine\ORM\Persisters\Exception\InvalidOrientation

Return values
ORMException

invalidResultCacheDriver()

public static invalidResultCacheDriver() : ORMException
Tags
deprecated

Use Doctrine\ORM\Cache\Exception\InvalidResultCacheDriver

Return values
ORMException

iterateWithFetchJoinCollectionNotAllowed()

public static iterateWithFetchJoinCollectionNotAllowed(array<string|int, string> $assoc) : QueryException
Parameters
$assoc : array<string|int, string>
Tags
psalm-param

AssociationMapping $assoc

Return values
QueryException

iterateWithFetchJoinNotAllowed()

public static iterateWithFetchJoinNotAllowed(array<string|int, string> $assoc) : QueryException
Parameters
$assoc : array<string|int, string>
Tags
psalm-param

AssociationMapping $assoc

Return values
QueryException

metadataCacheNotConfigured()

public static metadataCacheNotConfigured() : ORMException
Tags
deprecated

Use Doctrine\ORM\Cache\Exception\MetadataCacheNotConfigured

Return values
ORMException

metadataCacheUsesNonPersistentCache()

public static metadataCacheUsesNonPersistentCache(Cache $cache) : ORMException
Parameters
$cache : Cache
Tags
deprecated

Use Doctrine\ORM\Cache\Exception\MetadataCacheUsesNonPersistentCache

Return values
ORMException

missingIdentifierField()

public static missingIdentifierField(string $className, string $fieldName) : ORMException
Parameters
$className : string
$fieldName : string
Tags
deprecated

Use Doctrine\ORM\Exception\MissingIdentifierField

Return values
ORMException

missingMappingDriverImpl()

public static missingMappingDriverImpl() : ORMException
Tags
deprecated

Use Doctrine\ORM\Exception\MissingMappingDriverImplementation

Return values
ORMException

namedNativeQueryNotFound()

public static namedNativeQueryNotFound(string $nativeQueryName) : ORMException
Parameters
$nativeQueryName : string
Tags
deprecated

Use Doctrine\ORM\Exception\NamedQueryNotFound

Return values
ORMException

namedQueryNotFound()

public static namedQueryNotFound(string $queryName) : ORMException
Parameters
$queryName : string
Tags
deprecated

Use Doctrine\ORM\Exception\NamedQueryNotFound

Return values
ORMException

overwritingJoinConditionsNotYetSupported()

public static overwritingJoinConditionsNotYetSupported(array<string|int, string> $assoc) : QueryException
Parameters
$assoc : array<string|int, string>
Tags
psalm-param

array<string, string> $assoc

Return values
QueryException

proxyClassesAlwaysRegenerating()

public static proxyClassesAlwaysRegenerating() : ORMException
Tags
deprecated

Use Doctrine\ORM\Exception\ProxyClassesAlwaysRegenerating

Return values
ORMException

queryCacheNotConfigured()

public static queryCacheNotConfigured() : ORMException
Tags
deprecated

Use Doctrine\ORM\Cache\Exception\QueryCacheNotConfigured

Return values
ORMException

queryCacheUsesNonPersistentCache()

public static queryCacheUsesNonPersistentCache(Cache $cache) : ORMException
Parameters
$cache : Cache
Tags
deprecated

Use Doctrine\ORM\Cache\Exception\QueryCacheUsesNonPersistentCache

Return values
ORMException

semanticalError()

public static semanticalError(string $message[, Exception|null $previous = null ]) : QueryException
Parameters
$message : string
$previous : Exception|null = null
Return values
QueryException

unexpectedAssociationValue()

public static unexpectedAssociationValue(string $class, string $association, string $given, string $expected) : ORMException
Parameters
$class : string
$association : string
$given : string
$expected : string
Tags
deprecated

Use Doctrine\ORM\Exception\UnexpectedAssociationValue

Return values
ORMException

unknownEntityNamespace()

public static unknownEntityNamespace(string $entityNamespaceAlias) : ORMException
Parameters
$entityNamespaceAlias : string
Tags
deprecated

Use Doctrine\ORM\Exception\UnknownEntityNamespace

Return values
ORMException

unrecognizedField()

public static unrecognizedField(string $field) : ORMException
Parameters
$field : string
Tags
deprecated

Use Doctrine\ORM\Persisters\Exception\UnrecognizedField

Return values
ORMException

unrecognizedIdentifierFields()

public static unrecognizedIdentifierFields(string $className, array<string|int, string> $fieldNames) : ORMException
Parameters
$className : string
$fieldNames : array<string|int, string>
Tags
deprecated

Use Doctrine\ORM\Exception\UnrecognizedIdentifierFields

Return values
ORMException

        
On this page

Search results