Doctrine\ORM\Query\QueryException
Description of QueryException
- Author: Guilherme Blanco <guilhermeblanco@hotmail.com>
Synopsis
class QueryException
extends ORMException
{
- // Inherited members from Exception
- protected $message;
- protected $code;
- protected $file;
- protected $line;
- // methods
- public static void dqlError()
- public static void syntaxError()
- public static void semanticalError()
- public static void invalidLockMode()
- public static void invalidParameterType()
- public static void invalidParameterPosition()
- public static void invalidParameterNumber()
- public static void invalidParameterFormat()
- public static void unknownParameter()
- public static void parameterTypeMissmatch()
- public static void invalidPathExpression()
- public static void invalidLiteral()
- public static void iterateWithFetchJoinCollectionNotAllowed()
- public static void partialObjectsAreDangerous()
- public static void overwritingJoinConditionsNotYetSupported()
- public static void associationPathInverseSideNotSupported()
- public static void iterateWithFetchJoinNotAllowed()
- public static void associationPathCompositeKeyNotSupported()
- public static void instanceOfUnrelatedClass()
- // Inherited methods from ORMException
- public static void missingMappingDriverImpl()
- public static void namedQueryNotFound()
- public static void namedNativeQueryNotFound()
- public static void entityMissingForeignAssignedId()
- public static void entityMissingAssignedIdForField()
- public static void unrecognizedField()
- public static void invalidOrientation()
- public static void invalidFlushMode()
- public static void entityManagerClosed()
- public static void invalidHydrationMode()
- public static void mismatchedEventManager()
- public static void findByRequiresParameter()
- public static void invalidFindByCall()
- public static void invalidFindByInverseAssociation()
- public static void invalidResultCacheDriver()
- public static void notSupported()
- public static void queryCacheNotConfigured()
- public static void metadataCacheNotConfigured()
- public static void proxyClassesAlwaysRegenerating()
- public static void unknownEntityNamespace()
- public static void invalidEntityRepository()
- public static void missingIdentifierField()
- public static void overwriteInternalDQLFunctionNotAllowed()
- // Inherited methods from Exception
- public void __construct()
- public final string getMessage()
- public final Exception getPrevious()
- public final mixed getCode()
- public final string getFile()
- public final int getLine()
- public final array getTrace()
- public final string getTraceAsString()
- public string __toString()
Hierarchy
Members
protected
- $code
—
int
The exception code - $file
—
string
The filename where the exception was created - $line
—
int
The line where the exception was created - $message
—
string
The exception message
Methods
public
- associationPathCompositeKeyNotSupported()
- associationPathInverseSideNotSupported()
- dqlError()
- invalidLiteral()
- invalidLockMode()
- invalidParameterFormat()
- invalidParameterNumber()
- invalidParameterPosition()
- invalidParameterType()
- invalidPathExpression()
- iterateWithFetchJoinCollectionNotAllowed()
- iterateWithFetchJoinNotAllowed()
- overwritingJoinConditionsNotYetSupported()
- parameterTypeMissmatch()
- partialObjectsAreDangerous()
- semanticalError()
- syntaxError()
- unknownParameter()
Inherited from Doctrine\ORM\ORMException
public
- entityManagerClosed()
- entityMissingAssignedIdForField()
- entityMissingForeignAssignedId()
- findByRequiresParameter()
- invalidEntityRepository()
- invalidFindByCall()
- invalidFindByInverseAssociation()
- invalidFlushMode()
- invalidHydrationMode()
- invalidOrientation()
- invalidResultCacheDriver()
- metadataCacheNotConfigured()
- mismatchedEventManager()
- missingIdentifierField()
- missingMappingDriverImpl()
- namedNativeQueryNotFound()
- namedQueryNotFound()
- notSupported()
- overwriteInternalDQLFunctionNotAllowed()
- proxyClassesAlwaysRegenerating()
- queryCacheNotConfigured()
- unknownEntityNamespace()
- unrecognizedField()
Inherited from Exception
public
- __toString() — String representation of the exception
- getCode() — Gets the Exception code
- getFile() — Gets the file in which the exception occurred
- getLine() — Gets the line in which the exception occurred
- getMessage() — Gets the Exception message
- getPrevious() — Returns previous Exception
- getTrace() — Gets the stack trace
- getTraceAsString() — Gets the stack trace as a string