class DocumentNotFoundException extends MongoDBException (View source)

Class for exception when encountering proxy object that has an identifier that does not exist in the database.

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 
documentNotFound(string $className, $identifier)

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 documentNotFound(string $className, $identifier)

Parameters

string $className
$identifier