class MappingException extends MappingException (View source)

Class for all exceptions related to the Doctrine MongoDB ODM

Methods

static 
typeExists(string $name)

No description

static 
typeNotFound(string $name)

No description

static 
mappingNotFound(string $className, string $fieldName)

No description

static 
referenceMappingNotFound(string $className, string $fieldName)

No description

static 
mappingNotFoundInClassNorDescendants(string $className, string $fieldName)

No description

static 
referenceFieldConflict(string $fieldName, string $className, string $className2)

No description

static 
mappingNotFoundByDbName(string $className, string $dbFieldName)

No description

static 
duplicateFieldMapping(string $document, string $fieldName)

No description

static 
discriminatorFieldConflict(string $document, string $fieldName)

No description

static 
invalidClassInDiscriminatorMap(string $className, string $owningClass)

No description

static 
invalidDiscriminatorValue(string $value, string $owningClass)

No description

static 
missingFieldName(string $className)

No description

static 
classIsNotAValidDocument(string $className)

No description

static 
reflectionFailure(string $document, ReflectionException $previousException)

No description

static 
identifierRequired(string $documentName)

No description

static 
missingIdentifierField(string $className, string $fieldName)

No description

static 
missingIdGeneratorClass(string $className)

No description

static 
classIsNotAValidGenerator(string $className)

No description

static 
missingGeneratorSetter(string $className, string $optionName)

No description

static 
cascadeOnEmbeddedNotAllowed(string $className, string $fieldName)

No description

static 
simpleReferenceRequiresTargetDocument(string $className, string $fieldName)

No description

static 
simpleReferenceMustNotTargetDiscriminatedDocument(string $targetDocument)

No description

static 
atomicCollectionStrategyNotAllowed(string $strategy, string $className, string $fieldName)

No description

static 
owningAndInverseReferencesRequireTargetDocument(string $className, string $fieldName)

No description

static 
mustNotChangeIdentifierFieldsType(string $className, string $fieldName)

No description

static 
referenceManySortMustNotBeUsedWithNonSetCollectionStrategy(string $className, string $fieldName, string $strategy)

No description

static 
invalidStorageStrategy(string $className, string $fieldName, string $type, string $strategy)

No description

static 
collectionClassDoesNotImplementCommonInterface(string $className, string $fieldName, string $collectionClass)

No description

static 
shardKeyInSingleCollInheritanceSubclass(string $subclassName)

No description

static 
embeddedDocumentCantHaveShardKey(string $className)

No description

static 
onlySetStrategyAllowedInShardKey(string $className, string $fieldName)

No description

static 
noMultiKeyShardKeys(string $className, string $fieldName)

No description

static 
cannotLookupDbRefReference(string $className, string $fieldName)

No description

static 
repositoryMethodLookupNotAllowed(string $className, string $fieldName)

No description

static 
cannotUseShardedCollectionInOutStage(string $className)

No description

static 
cannotUseShardedCollectionInLookupStages(string $className)

No description

static 
referencePrimersOnlySupportedForInverseReferenceMany(string $className, string $fieldName)

No description

static 
connectFromFieldMustReferenceSameDocument(string $fieldName)

No description

static 
repositoryMethodCanNotBeCombinedWithSkipLimitAndSort(string $className, string $fieldName)

No description

static 
xmlMappingFileInvalid(string $filename, string $errorDetails)

No description

static 
fieldNotAllowedForGridFS(string $className, string $fieldName)

No description

static 
discriminatorNotAllowedForGridFS(string $className)

No description

Details

static typeExists(string $name)

Parameters

string $name

static typeNotFound(string $name)

Parameters

string $name

static mappingNotFound(string $className, string $fieldName)

Parameters

string $className
string $fieldName

static referenceMappingNotFound(string $className, string $fieldName)

Parameters

string $className
string $fieldName

static mappingNotFoundInClassNorDescendants(string $className, string $fieldName)

Parameters

string $className
string $fieldName

static referenceFieldConflict(string $fieldName, string $className, string $className2)

Parameters

string $fieldName
string $className
string $className2

static mappingNotFoundByDbName(string $className, string $dbFieldName)

Parameters

string $className
string $dbFieldName

static duplicateFieldMapping(string $document, string $fieldName)

Parameters

string $document
string $fieldName

static discriminatorFieldConflict(string $document, string $fieldName)

Parameters

string $document
string $fieldName

static invalidClassInDiscriminatorMap(string $className, string $owningClass)

Parameters

string $className
string $owningClass

static invalidDiscriminatorValue(string $value, string $owningClass)

Parameters

string $value
string $owningClass

static missingFieldName(string $className)

Parameters

string $className

static classIsNotAValidDocument(string $className)

Parameters

string $className

static reflectionFailure(string $document, ReflectionException $previousException)

Parameters

string $document
ReflectionException $previousException

static identifierRequired(string $documentName)

Parameters

string $documentName

static missingIdentifierField(string $className, string $fieldName)

Parameters

string $className
string $fieldName

static missingIdGeneratorClass(string $className)

Parameters

string $className

static classIsNotAValidGenerator(string $className)

Parameters

string $className

static missingGeneratorSetter(string $className, string $optionName)

Parameters

string $className
string $optionName

static cascadeOnEmbeddedNotAllowed(string $className, string $fieldName)

Parameters

string $className
string $fieldName

static simpleReferenceRequiresTargetDocument(string $className, string $fieldName)

Parameters

string $className
string $fieldName

static simpleReferenceMustNotTargetDiscriminatedDocument(string $targetDocument)

Parameters

string $targetDocument

static atomicCollectionStrategyNotAllowed(string $strategy, string $className, string $fieldName)

Parameters

string $strategy
string $className
string $fieldName

static owningAndInverseReferencesRequireTargetDocument(string $className, string $fieldName)

Parameters

string $className
string $fieldName

static mustNotChangeIdentifierFieldsType(string $className, string $fieldName)

Parameters

string $className
string $fieldName

static referenceManySortMustNotBeUsedWithNonSetCollectionStrategy(string $className, string $fieldName, string $strategy)

Parameters

string $className
string $fieldName
string $strategy

static invalidStorageStrategy(string $className, string $fieldName, string $type, string $strategy)

Parameters

string $className
string $fieldName
string $type
string $strategy

static collectionClassDoesNotImplementCommonInterface(string $className, string $fieldName, string $collectionClass)

Parameters

string $className
string $fieldName
string $collectionClass

static shardKeyInSingleCollInheritanceSubclass(string $subclassName)

Parameters

string $subclassName

static embeddedDocumentCantHaveShardKey(string $className)

Parameters

string $className

static onlySetStrategyAllowedInShardKey(string $className, string $fieldName)

Parameters

string $className
string $fieldName

static noMultiKeyShardKeys(string $className, string $fieldName)

Parameters

string $className
string $fieldName

static cannotLookupDbRefReference(string $className, string $fieldName)

Parameters

string $className
string $fieldName

static repositoryMethodLookupNotAllowed(string $className, string $fieldName)

Parameters

string $className
string $fieldName

static cannotUseShardedCollectionInOutStage(string $className)

Parameters

string $className

static cannotUseShardedCollectionInLookupStages(string $className)

Parameters

string $className

static referencePrimersOnlySupportedForInverseReferenceMany(string $className, string $fieldName)

Parameters

string $className
string $fieldName

static connectFromFieldMustReferenceSameDocument(string $fieldName)

Parameters

string $fieldName

static repositoryMethodCanNotBeCombinedWithSkipLimitAndSort(string $className, string $fieldName)

Parameters

string $className
string $fieldName

static xmlMappingFileInvalid(string $filename, string $errorDetails)

Parameters

string $filename
string $errorDetails

static fieldNotAllowedForGridFS(string $className, string $fieldName)

Parameters

string $className
string $fieldName

static discriminatorNotAllowedForGridFS(string $className)

Parameters

string $className