PHP 클래스 Doctrine\ODM\MongoDB\Mapping\MappingException

부터: 1.0
저자: Jonathan H. Wage ([email protected])
상속: extends Doctrine\Common\Persistence\Mapping\MappingException
파일 보기 프로젝트 열기: doctrine/mongodb-odm 1 사용 예제들

공개 메소드들

메소드 설명
atomicCollectionStrategyNotAllowed ( string $strategy, string $className, string $fieldName ) : MappingException
cannotLookupNonIdReference ( string $className, string $fieldName ) : MappingException
cannotUseShardedCollectionInOutStage ( string $className ) : MappingException
cascadeOnEmbeddedNotAllowed ( string $className, string $fieldName ) : MappingException
classIsNotAValidDocument ( string $className ) : MappingException
classIsNotAValidGenerator ( string $className ) : MappingException
collectionClassDoesNotImplementCommonInterface ( string $className, string $fieldName, string $collectionClass ) : MappingException
discriminatorFieldConflict ( string $document, string $fieldName ) : MappingException
duplicateFieldMapping ( string $document, string $fieldName ) : MappingException
embeddedDocumentCantHaveShardKey ( $className ) : MappingException
identifierRequired ( string $documentName ) : MappingException
invalidClassInDiscriminatorMap ( string $className, string $owningClass ) : MappingException Throws an exception that indicates that a class used in a discriminator map does not exist.
invalidDiscriminatorValue ( string $value, string $owningClass ) : MappingException Throws an exception that indicates a discriminator value does not exist in a map
invalidStorageStrategy ( string $className, string $fieldName, string $type, string $strategy ) : MappingException
mappingNotFound ( string $className, string $fieldName ) : MappingException
mappingNotFoundByDbName ( string $className, string $dbFieldName ) : MappingException
mappingNotFoundInClassNorDescendants ( string $className, string $fieldName ) : MappingException
missingFieldName ( string $className ) : MappingException
missingGeneratorSetter ( string $className, string $optionName ) : MappingException
missingIdGeneratorClass ( string $className ) : MappingException
missingIdentifierField ( string $className, string $fieldName ) : MappingException
mustNotChangeIdentifierFieldsType ( string $className, string $fieldName ) : MappingException
noMultiKeyShardKeys ( $className, $fieldName ) : MappingException
onlySetStrategyAllowedInShardKey ( string $className, string $fieldName ) : MappingException
owningAndInverseReferencesRequireTargetDocument ( string $className, string $fieldName ) : MappingException
referenceFieldConflict ( $fieldName, $className, $className2 ) : MappingException
referenceManySortMustNotBeUsedWithNonSetCollectionStrategy ( string $className, string $fieldName, string $strategy ) : MappingException
referenceMappingNotFound ( string $className, string $fieldName ) : MappingException
reflectionFailure ( string $document, ReflectionException $previousException ) : MappingException Exception for reflection exceptions - adds the document name, because there might be long classnames that will be shortened within the stacktrace
repositoryMethodLookupNotAllowed ( string $className, string $fieldName ) : MappingException
shardKeyInSingleCollInheritanceSubclass ( $subclassName ) : MappingException
simpleReferenceMustNotTargetDiscriminatedDocument ( string $targetDocument ) : MappingException
simpleReferenceRequiresTargetDocument ( string $className, string $fieldName ) : MappingException
typeExists ( string $name ) : MappingException
typeNotFound ( string $name ) : MappingException

메소드 상세

atomicCollectionStrategyNotAllowed() 공개 정적인 메소드

public static atomicCollectionStrategyNotAllowed ( string $strategy, string $className, string $fieldName ) : MappingException
$strategy string
$className string
$fieldName string
리턴 MappingException

cannotLookupNonIdReference() 공개 정적인 메소드

public static cannotLookupNonIdReference ( string $className, string $fieldName ) : MappingException
$className string
$fieldName string
리턴 MappingException

cannotUseShardedCollectionInOutStage() 공개 정적인 메소드

public static cannotUseShardedCollectionInOutStage ( string $className ) : MappingException
$className string
리턴 MappingException

cascadeOnEmbeddedNotAllowed() 공개 정적인 메소드

public static cascadeOnEmbeddedNotAllowed ( string $className, string $fieldName ) : MappingException
$className string
$fieldName string
리턴 MappingException

classIsNotAValidDocument() 공개 정적인 메소드

public static classIsNotAValidDocument ( string $className ) : MappingException
$className string
리턴 MappingException

classIsNotAValidGenerator() 공개 정적인 메소드

public static classIsNotAValidGenerator ( string $className ) : MappingException
$className string
리턴 MappingException

collectionClassDoesNotImplementCommonInterface() 공개 정적인 메소드

public static collectionClassDoesNotImplementCommonInterface ( string $className, string $fieldName, string $collectionClass ) : MappingException
$className string
$fieldName string
$collectionClass string
리턴 MappingException

discriminatorFieldConflict() 공개 정적인 메소드

public static discriminatorFieldConflict ( string $document, string $fieldName ) : MappingException
$document string
$fieldName string
리턴 MappingException

duplicateFieldMapping() 공개 정적인 메소드

public static duplicateFieldMapping ( string $document, string $fieldName ) : MappingException
$document string
$fieldName string
리턴 MappingException

embeddedDocumentCantHaveShardKey() 공개 정적인 메소드

public static embeddedDocumentCantHaveShardKey ( $className ) : MappingException
$className
리턴 MappingException

identifierRequired() 공개 정적인 메소드

public static identifierRequired ( string $documentName ) : MappingException
$documentName string
리턴 MappingException

invalidClassInDiscriminatorMap() 공개 정적인 메소드

An example would be an outdated (maybe renamed) classname.
public static invalidClassInDiscriminatorMap ( string $className, string $owningClass ) : MappingException
$className string The class that could not be found
$owningClass string The class that declares the discriminator map.
리턴 MappingException

invalidDiscriminatorValue() 공개 정적인 메소드

Throws an exception that indicates a discriminator value does not exist in a map
public static invalidDiscriminatorValue ( string $value, string $owningClass ) : MappingException
$value string The discriminator value that could not be found
$owningClass string The class that declares the discriminator map
리턴 MappingException

invalidStorageStrategy() 공개 정적인 메소드

public static invalidStorageStrategy ( string $className, string $fieldName, string $type, string $strategy ) : MappingException
$className string
$fieldName string
$type string
$strategy string
리턴 MappingException

mappingNotFound() 공개 정적인 메소드

public static mappingNotFound ( string $className, string $fieldName ) : MappingException
$className string
$fieldName string
리턴 MappingException

mappingNotFoundByDbName() 공개 정적인 메소드

public static mappingNotFoundByDbName ( string $className, string $dbFieldName ) : MappingException
$className string
$dbFieldName string
리턴 MappingException

mappingNotFoundInClassNorDescendants() 공개 정적인 메소드

public static mappingNotFoundInClassNorDescendants ( string $className, string $fieldName ) : MappingException
$className string
$fieldName string
리턴 MappingException

missingFieldName() 공개 정적인 메소드

public static missingFieldName ( string $className ) : MappingException
$className string
리턴 MappingException

missingGeneratorSetter() 공개 정적인 메소드

public static missingGeneratorSetter ( string $className, string $optionName ) : MappingException
$className string
$optionName string
리턴 MappingException

missingIdGeneratorClass() 공개 정적인 메소드

public static missingIdGeneratorClass ( string $className ) : MappingException
$className string
리턴 MappingException

missingIdentifierField() 공개 정적인 메소드

public static missingIdentifierField ( string $className, string $fieldName ) : MappingException
$className string
$fieldName string
리턴 MappingException

mustNotChangeIdentifierFieldsType() 공개 정적인 메소드

public static mustNotChangeIdentifierFieldsType ( string $className, string $fieldName ) : MappingException
$className string
$fieldName string
리턴 MappingException

noMultiKeyShardKeys() 공개 정적인 메소드

public static noMultiKeyShardKeys ( $className, $fieldName ) : MappingException
$className
$fieldName
리턴 MappingException

onlySetStrategyAllowedInShardKey() 공개 정적인 메소드

public static onlySetStrategyAllowedInShardKey ( string $className, string $fieldName ) : MappingException
$className string
$fieldName string
리턴 MappingException

owningAndInverseReferencesRequireTargetDocument() 공개 정적인 메소드

public static owningAndInverseReferencesRequireTargetDocument ( string $className, string $fieldName ) : MappingException
$className string
$fieldName string
리턴 MappingException

referenceFieldConflict() 공개 정적인 메소드

public static referenceFieldConflict ( $fieldName, $className, $className2 ) : MappingException
$fieldName
$className
$className2
리턴 MappingException

referenceManySortMustNotBeUsedWithNonSetCollectionStrategy() 공개 정적인 메소드

public static referenceManySortMustNotBeUsedWithNonSetCollectionStrategy ( string $className, string $fieldName, string $strategy ) : MappingException
$className string
$fieldName string
$strategy string
리턴 MappingException

referenceMappingNotFound() 공개 정적인 메소드

public static referenceMappingNotFound ( string $className, string $fieldName ) : MappingException
$className string
$fieldName string
리턴 MappingException

reflectionFailure() 공개 정적인 메소드

Exception for reflection exceptions - adds the document name, because there might be long classnames that will be shortened within the stacktrace
public static reflectionFailure ( string $document, ReflectionException $previousException ) : MappingException
$document string The document's name
$previousException ReflectionException
리턴 MappingException

repositoryMethodLookupNotAllowed() 공개 정적인 메소드

public static repositoryMethodLookupNotAllowed ( string $className, string $fieldName ) : MappingException
$className string
$fieldName string
리턴 MappingException

shardKeyInSingleCollInheritanceSubclass() 공개 정적인 메소드

public static shardKeyInSingleCollInheritanceSubclass ( $subclassName ) : MappingException
$subclassName
리턴 MappingException

simpleReferenceMustNotTargetDiscriminatedDocument() 공개 정적인 메소드

public static simpleReferenceMustNotTargetDiscriminatedDocument ( string $targetDocument ) : MappingException
$targetDocument string
리턴 MappingException

simpleReferenceRequiresTargetDocument() 공개 정적인 메소드

public static simpleReferenceRequiresTargetDocument ( string $className, string $fieldName ) : MappingException
$className string
$fieldName string
리턴 MappingException

typeExists() 공개 정적인 메소드

public static typeExists ( string $name ) : MappingException
$name string
리턴 MappingException

typeNotFound() 공개 정적인 메소드

public static typeNotFound ( string $name ) : MappingException
$name string
리턴 MappingException