class PersistentCollectionException extends MongoDBException (View source)

MongoDB ODM PersistentCollection Exception.

Methods

static 
static 
invalidDocumentState(int $state)

No description

static 
documentNotMappedToCollection(string $className)

No description

static 
documentManagerClosed()

No description

static 
unknownDocumentNamespace(string $documentNamespaceAlias)

No description

static 
cannotPersistMappedSuperclass(string $className)

No description

static 
invalidDocumentRepository(string $className)

No description

static 
invalidGridFSRepository(string $className)

No description

invalidValueForType(string $type, $expected, $got)

No description

static 
shardKeyFieldCannotBeChanged(string $field, string $className)

No description

static 
shardKeyFieldMissing(string $field, string $className)

No description

static 
failedToEnableSharding(string $dbName, string $errorMessage)

No description

static 
failedToEnsureDocumentSharding(string $className, string $errorMessage)

No description

static 
commitInProgress()

No description

static 
documentBucketOnlyAvailableForGridFSFiles(string $className)

No description

static 
cannotPersistGridFSFile(string $className)

No description

static 
cannotReadGridFSSourceFile(string $filename)

No description

static 
directoryNotWritable()

No description

static 
directoryRequired()

No description

static 
namespaceRequired()

No description

static 
invalidParameterTypeHint(string $className, string $methodName, string $parameterName, Throwable|null $previous = null)

No description

static 
invalidReturnTypeHint(string $className, string $methodName, Throwable|null $previous = null)

No description

Details

static detachedDocumentCannotBeRemoved()

static invalidDocumentState(int $state)

Parameters

int $state

static documentNotMappedToCollection(string $className)

Parameters

string $className

static documentManagerClosed()

static unknownDocumentNamespace(string $documentNamespaceAlias)

Parameters

string $documentNamespaceAlias

static cannotPersistMappedSuperclass(string $className)

Parameters

string $className

static invalidDocumentRepository(string $className)

Parameters

string $className

static invalidGridFSRepository(string $className)

Parameters

string $className

static MongoDBException invalidValueForType(string $type, $expected, $got)

Parameters

string $type
$expected
$got

Return Value

MongoDBException

static shardKeyFieldCannotBeChanged(string $field, string $className)

Parameters

string $field
string $className

static shardKeyFieldMissing(string $field, string $className)

Parameters

string $field
string $className

static failedToEnableSharding(string $dbName, string $errorMessage)

Parameters

string $dbName
string $errorMessage

static failedToEnsureDocumentSharding(string $className, string $errorMessage)

Parameters

string $className
string $errorMessage

static commitInProgress()

static documentBucketOnlyAvailableForGridFSFiles(string $className)

Parameters

string $className

static cannotPersistGridFSFile(string $className)

Parameters

string $className

static cannotReadGridFSSourceFile(string $filename)

Parameters

string $filename

static directoryNotWritable()

static directoryRequired()

static namespaceRequired()

static invalidParameterTypeHint(string $className, string $methodName, string $parameterName, Throwable|null $previous = null)

Parameters

string $className
string $methodName
string $parameterName
Throwable|null $previous

static invalidReturnTypeHint(string $className, string $methodName, Throwable|null $previous = null)

Parameters

string $className
string $methodName
Throwable|null $previous